AI summary
PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (php-cgi), does not properly handle query strings that lack an equals sign. Remote attackers can cause a denial of service (resource consumption) by placing command-line options in the query string; this is an incomplete fix for an earlier PHP-CGI issue.
Generated automatically from the source description. Check the sources below before acting.
Improper handling of query strings lacking an equals sign in PHP
Multiple products
At a glance
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.
Source description · CVE List / CNA
System impact
CVSS summary v2.0
- Published:
- Updated:
- EPSS:
- 52.085%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Network
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:php | php | Affected versions:≤ 5.3.12Show full version range for php1.02.02.0b103.03.0.13.0.103.0.113.0.123.0.133.0.143.0.153.0.163.0.173.0.183.0.23.0.33.0.43.0.53.0.63.0.73.0.83.0.94.04.0.04.0.14.0.24.0.34.0.44.0.54.0.64.0.74.1.04.1.14.1.24.2.04.2.14.2.24.2.34.3.04.3.14.3.104.3.114.3.24.3.34.3.44.3.54.3.64.3.74.3.84.3.94.4.04.4.14.4.24.4.34.4.44.4.54.4.64.4.74.4.84.4.95.0.05.0.15.0.25.0.35.0.45.0.55.1.05.1.15.1.25.1.35.1.45.1.55.1.65.2.05.2.15.2.105.2.115.2.125.2.135.2.145.2.155.2.165.2.175.2.25.2.35.2.45.2.55.2.65.2.75.2.85.2.95.3.05.3.15.3.105.3.115.3.25.3.35.3.45.3.55.3.65.3.75.3.85.3.95.4.05.4.15.4.2 |
| Vendor:oraclelinux | phpEnvironments (1)
| Affected versions: < 0:5.1.6-39.el5_8 |
| Vendor:oraclelinux | php-bcmathEnvironments (1)
| Affected versions: < 0:5.1.6-39.el5_8 |
| Vendor:oraclelinux | php-cliEnvironments (1)
| Affected versions: < 0:5.1.6-39.el5_8 |
| Vendor:oraclelinux | php-commonEnvironments (1)
| Affected versions: < 0:5.1.6-39.el5_8 |
| Vendor:oraclelinux | php-dbaEnvironments (1)
| Affected versions: < 0:5.1.6-39.el5_8 |
| Vendor:oraclelinux | php-develEnvironments (1)
| Affected versions: < 0:5.1.6-39.el5_8 |
| Vendor:oraclelinux | php-gdEnvironments (1)
| Affected versions: < 0:5.1.6-39.el5_8 |
| Vendor:oraclelinux | php-imapEnvironments (1)
| Affected versions: < 0:5.1.6-39.el5_8 |
| Vendor:oraclelinux | php-ldapEnvironments (1)
| Affected versions: < 0:5.1.6-39.el5_8 |
1–10 of 453 · Page 1 of 46
CVSS scores and metrics6
[email protected] · NVD (Primary)Primary5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:Pnvd · Wazuh CTI (cna)5.0 / 10MediumCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:N/I:N/A:Poraclelinux · Wazuh CTI (adp)5.8 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:N/A:Predhat · Wazuh CTI (adp)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PRed Hat · Red Hat VEX (adp)7.5 / 10HighCVSS 2.0Details
- Attack complexity
- Low
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:L/Au:N/C:P/I:P/A:PRed Hat · Red Hat VEX (adp)4.3 / 10MediumCVSS 2.0Details
- Attack complexity
- Medium
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
- Attack vector
- Network
- Authentication
- Not required
Source vector
AV:N/AC:M/Au:N/C:P/I:N/A:NCVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.
Sources and advisories24
- CVE List / CNA
- NVD
- Wazuh CTI
- Red Hat VEX
- SUSE VEX
- FIRST EPSS
- lists.opensuse.org
- lists.opensuse.org
- bugs.php.net
- secunia.com
- bugs.php.net
- php.net
- h20564.www2.hp.com
- php.net
- SUSE-SU-2013:1351-1
- access.redhat.com
- SUSE CVE-2012-2336
- SUSE-SU-2012:0721-1
- SUSE-SU-2012:0840-1
- linux.oracle.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- Mitre CVE-2012-2336
This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences