CVE-2012-2335
Last modified
CVE-2012-2335 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 32.54% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | 5.3.12 |
| Php | Php | 5.4.2 |
References
- http://www.kb.cert.org/vuls/id/520827US Government Resource
- https://bugs.php.net/bug.php?id=61910Vendor Advisory
- http://www.kb.cert.org/vuls/id/520827US Government Resource
- https://bugs.php.net/bug.php?id=61910Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2012-2335?
How severe is CVE-2012-2335?
How do I fix CVE-2012-2335?
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-2329Buffer overflow in the apache_request_headers function in sa…
- 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-2336sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.…
- 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 …
Are you affected by CVE-2012-2335?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
