CVE-2012-2336
Last modified
CVE-2012-2336 is a vulnerability of currently unknown severity. sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to cause a denial of service (resource consumption) by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'T' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.. EPSS estimates a 50.72% chance of exploitation in the next 30 days.
Description
sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that lack an = (equals sign) character, which allows remote attackers to cause a denial of service (resource consumption) by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'T' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Php | Php | <= 5.3.12 | — |
| Php | Php | 1.0 | — |
| Php | Php | 2.0 | — |
| Php | Php | 2.0b10 | — |
| Php | Php | 3.0 | — |
| Php | Php | 3.0.1 | — |
| Php | Php | 3.0.2 | — |
| Php | Php | 3.0.3 | — |
| Php | Php | 3.0.4 | — |
| Php | Php | 3.0.5 | — |
| Php | Php | 3.0.6 | — |
| Php | Php | 3.0.7 | — |
| Php | Php | 3.0.8 | — |
| Php | Php | 3.0.9 | — |
| Php | Php | 3.0.10 | — |
| Php | Php | 3.0.11 | — |
| Php | Php | 3.0.12 | — |
| Php | Php | 3.0.13 | — |
| Php | Php | 3.0.14 | — |
| Php | Php | 3.0.15 | — |
| Php | Php | 3.0.16 | — |
| Php | Php | 3.0.17 | — |
| Php | Php | 3.0.18 | — |
| Php | Php | 4.0 | Beta 4 Patch1 |
| Php | Php | 4.0.0 | — |
| Php | Php | 4.0.1 | — |
| Php | Php | 4.0.2 | — |
| Php | Php | 4.0.3 | — |
| Php | Php | 4.0.4 | — |
| Php | Php | 4.0.5 | — |
| Php | Php | 4.0.6 | — |
| Php | Php | 4.0.7 | — |
| Php | Php | 4.1.0 | — |
| Php | Php | 4.1.1 | — |
| Php | Php | 4.1.2 | — |
| Php | Php | 4.2.0 | — |
| Php | Php | 4.2.1 | — |
| Php | Php | 4.2.2 | — |
| Php | Php | 4.2.3 | — |
| Php | Php | 4.3.0 | — |
| Php | Php | 4.3.1 | — |
| Php | Php | 4.3.2 | — |
| Php | Php | 4.3.3 | — |
| Php | Php | 4.3.4 | — |
| Php | Php | 4.3.5 | — |
| Php | Php | 4.3.6 | — |
| Php | Php | 4.3.7 | — |
| Php | Php | 4.3.8 | — |
| Php | Php | 4.3.9 | — |
| Php | Php | 4.3.10 | — |
Showing 50 of 107 affected configurations. See NVD for the full list.
References
- http://secunia.com/advisories/49014Vendor Advisory
- http://www.php.net/archive/2012.php#id2012-05-08-1Vendor Advisory
- https://bugs.php.net/bug.php?id=61910Vendor Advisory
- http://secunia.com/advisories/49014Vendor Advisory
- http://www.php.net/archive/2012.php#id2012-05-08-1Vendor Advisory
- https://bugs.php.net/bug.php?id=61910Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2012-2336?
How severe is CVE-2012-2336?
How do I fix CVE-2012-2336?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-2330The Update method in src/node_http_parser.cc in Node.js befo…
- CVE-2012-2331Cross-site scripting (XSS) vulnerability in serendipity/sere…
- CVE-2012-2332SQL injection vulnerability in serendipity/serendipity_admin…
- CVE-2012-2333Integer underflow in OpenSSL before 0.9.8x, 1.0.0 before 1.0…
- CVE-2012-2334Integer overflow in filter/source/msfilter/msdffimp.cxx in O…
- CVE-2012-2335php-wrapper.fcgi does not properly handle command-line argum…
- CVE-2012-2337sudo 1.6.x and 1.7.x before 1.7.9p1, and 1.8.x before 1.8.4p…
- CVE-2012-2338SQL injection vulnerability in includes/picture.class.php in…
- CVE-2012-2339Cross-site scripting (XSS) vulnerability in the Glossary mod…
- CVE-2012-2340The Contact Forms module 7.x-1.x before 7.x-1.2 for Drupal d…
- CVE-2012-2341Cross-site request forgery (CSRF) vulnerability in the Take …
- CVE-2012-2342Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
Are you affected by CVE-2012-2336?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
