Vulnerabilities · 2012 · Php
CVE-2012-2336
Php vulnerability
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.
Affected products
Php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- secunia.com/advisories/49014 · Vendor Advisory
- www.php.net/archive/2012.php#id2012-05-08-1 · Vendor Advisory
- bugs.php.net/bug.php?id=61910 · Vendor Advisory
- lists.opensuse.org/opensuse-security-announce/2012-06/msg00004.html
- lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html
- www.php.net/ChangeLog-5.php#5.4.3
- bugs.php.net/patch-display.php?bug_id=61910&patch=CVE-2012-1823.patch&revision=1336251592&
- h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862
- nvd.nist.gov/vuln/detail/CVE-2012-2336
- cve.org/CVERecord?id=CVE-2012-2336
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.