PHP-CGI Query String Parameter Vulnerability
CVE-2012-1823Known exploitedCritical
PHP when configured as a CGI script does not properly handle query strings that lack an equals sign. An attacker can place command-line options in the query string to execute arbitrary code. The attacker needs to send a specially crafted query string to a PHP-CGI installation.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 25 Mar 2022
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
PHP. CISA required action: Apply updates per vendor instructions.
Weakness: CWE-77 (opens in a new tab)
Affected versions
- php php: before 5.3.12
- php php: from 5.4.0, before 5.4.2
- fedoraproject fedora: 39
- fedoraproject fedora: 40
- debian debian linux: 6.0
- hp hp-ux: b.11.23
- hp hp-ux: b.11.31
- opensuse opensuse: 11.4
- opensuse opensuse: 12.1
- suse linux enterprise server: 10
- suse linux enterprise server: 11
- suse linux enterprise software development kit: 10
- suse linux enterprise software development kit: 11
- apple mac os x: from 10.6.8, before 10.7.5
- apple mac os x: from 10.8.0, before 10.8.2
- redhat application stack: 2.0
- redhat gluster storage server for on-premise: 2.0
- redhat storage: 2.0
- redhat storage for public cloud: 2.0
- redhat enterprise linux desktop: 6.0
- redhat enterprise linux eus: 5.6
- redhat enterprise linux eus: 6.1
- redhat enterprise linux eus: 6.2
- redhat enterprise linux server: 5.0
- redhat enterprise linux server: 6.0
The NVD record lists more.