CVE-2012-2335
php: incomplete CVE-2012-1823 fix - insecure wrapper
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
AV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness: CWE-264
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 2 fixes
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | apache2-mod-php5 +58 | 5.6.28-1.1 | openSUSE-SU-2024:10344-1 |
| Tumbleweed | apache2-mod-php7 +56 | 7.0.14-1.4 | openSUSE-SU-2024:10290-1 |
References
- eindbazen.net http://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/
- git.php.net http://git.php.net/?p=php-src.git%3Ba=blob%3Bf=sapi/cgi/cgi_main.c%3Bh=a7ac26f0#l1569
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2012-06/msg00004.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html
- secunia.com http://secunia.com/advisories/49014
- www.kb.cert.org http://www.kb.cert.org/vuls/id/520827
- www.openwall.com http://www.openwall.com/lists/oss-security/2012/05/09/9
- www.php.net http://www.php.net/archive/2012.php#id2012-05-06-1
- access.redhat.com https://access.redhat.com/security/cve/CVE-2012-2335
- bugs.php.net https://bugs.php.net/bug.php?id=61910
Show all 15 references
- exchange.xforce.ibmcloud.com https://exchange.xforce.ibmcloud.com/vulnerabilities/75652
- h20564.www2.hp.com https://h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2012-2335
- ubuntu.com https://ubuntu.com/security/notices/USN-1481-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2012-2335
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.