CVE-2012-2335

Publication date 11 May 2012

Last updated 24 July 2024


Ubuntu priority

Negligible

Why this priority?

php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP 5.3.12 and 5.4.2 and execute arbitrary code by leveraging improper interaction between the PHP sapi/cgi/cgi_main.c component and a query string beginning with a +- sequence.

Read the notes from the security team

Status

Package Ubuntu Release Status
php5 12.04 LTS precise
Fixed 5.3.10-1ubuntu3.2
11.10 oneiric
Fixed 5.3.6-13ubuntu3.8
11.04 natty
Fixed 5.3.5-1ubuntu7.10
10.04 LTS lucid
Fixed 5.3.2-1ubuntu4.17
8.04 LTS hardy
Fixed 5.2.4-2ubuntu5.25

Notes


sbeattie

we gave a bit of advice in CVE-2012-2311 about this issue


mdeslaur

this is a further mitigation

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
php5

References

Related Ubuntu Security Notices (USN)

Other references