CVE-2012-2335PHP Vulnerability
php: incomplete CVE-2012-1823 fix - insecure wrapper
Published May 3, 2012 · Updated Aug 6, 2024
Key Facts
Patch immediately- CVE-2012-2335 is a high-severity vulnerability (CVSS 7.5 v2) affecting PHP, apache2-mod_php5 (suse), apache2-mod_php7 (suse) and 22 more products.
- It is exploited in the wild, listed in Industry KEV feed since Jan 15, 2018. No public exploit code is known.
- EPSS estimates a 32% probability of exploitation in the next 30 days.
- Fixed versions are available, including apache2-mod_php5 5.6.28-1.1, apache2-mod_php7 7.0.14-1.4, php5 5.6.28-1.1.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v2
7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS (30-day exploit likelihood)
32%
Higher than 98.3% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
48/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Jan 15, 2018
2083 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
1
Reports of active use
Advisories And Exploit References
Description
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Jan 15, 2018 | n/a | Not reported |
Affected Products
118 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PHPPHP | 5.3.12, 5.4.2 | n/a |
| apache2-mod_php5suse | See advisory | 5.6.28-1.1 |
| apache2-mod_php7suse | See advisory | 7.0.14-1.4 |
| php5-bcmathsuse | See advisory | 5.6.28-1.1 |
| php5-bz2suse | See advisory | 5.6.28-1.1 |
Patched Releases
apache2-mod_php5
5.6.28-1.1
apache2-mod_php7
7.0.14-1.4
php5
5.6.28-1.1
php5-bcmath
5.6.28-1.1
php5-bz2
5.6.28-1.1
php5-calendar
5.6.28-1.1
php5-ctype
5.6.28-1.1
php5-curl
5.6.28-1.1
php5-dba
5.6.28-1.1
php5-devel
5.6.28-1.1
php5-dom
5.6.28-1.1
php5-enchant
5.6.28-1.1
php5-exif
5.6.28-1.1
php5-fastcgi
5.6.28-1.1
php5-fileinfo
5.6.28-1.1
php5-firebird
5.6.28-1.1
php5-fpm
5.6.28-1.1
php5-ftp
5.6.28-1.1
php5-gd
5.6.28-1.1
php5-gettext
5.6.28-1.1
php5-gmp
5.6.28-1.1
php5-iconv
5.6.28-1.1
php5-imap
5.6.28-1.1
php5-intl
5.6.28-1.1
php5-json
5.6.28-1.1
Timeline
Publicly disclosed
May 3, 2012
Added to Industry KEV feed
Jan 15, 2018
Last updated
Aug 6, 2024
Weakness Type
- CWE-264
References
- advisorybugs.php.net · bug.php
- exploitVulnCheck exploitation report
- othergit.php.net
- otherSUSE-SU-2012:0721
- otherSUSE-SU-2012:0840
FAQ
Common Questions.
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.
Affected: PHP versions 5.3.12, 5.4.2; apache2-mod_php5 (suse); apache2-mod_php7 (suse), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Jan 15, 2018.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including apache2-mod_php5 5.6.28-1.1, apache2-mod_php7 7.0.14-1.4, php5 5.6.28-1.1.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2012-2335 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo