A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, 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 execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Apple mac os x
- Debian debian linux
- Fedoraproject fedora
- HP hp-ux
- Opensuse opensuse
- PHP php
- Red Hat application stack, gluster storage server for on-premise, storage, storage for public cloud, enterprise linux desktop, enterprise linux eus, enterprise linux server, enterprise linux server aus, enterprise linux workstation
- Suse linux enterprise server, linux enterprise software development kit
Weakness type
References
- eindbazen.net /2012/05/php-cgi-advisory-cve-2012-1823/
- h20000.www2.hp.com /bizsupport/TechSupport/Document.jsp
- lists.apple.com /archives/security-announce/2012/Sep/msg00004.html
- lists.opensuse.org /opensuse-security-announce/2012-05/msg00002.html
- lists.opensuse.org /opensuse-security-announce/2012-05/msg00007.html
- lists.opensuse.org /opensuse-security-announce/2012-05/msg00011.html
- marc.info /
- rhn.redhat.com /errata/RHSA-2012-0546.html
- rhn.redhat.com /errata/RHSA-2012-0547.html
- rhn.redhat.com /errata/RHSA-2012-0568.html
- rhn.redhat.com /errata/RHSA-2012-0569.html
- rhn.redhat.com /errata/RHSA-2012-0570.html
- secunia.com /advisories/49014
- secunia.com /advisories/49065
- secunia.com /advisories/49085
- secunia.com /advisories/49087
- support.apple.com /kb/HT5501
- www.debian.org /security/2012/dsa-2465
- www.kb.cert.org /vuls/id/520827
- www.kb.cert.org /vuls/id/673343
- www.mandriva.com /security/advisories
- www.openwall.com /lists/oss-security/2024/06/07/1
- www.php.net /ChangeLog-5.php
- www.php.net /archive/2012.php
- www.securitytracker.com /id
- bugs.php.net /bug.php
- bugs.php.net /patch-display.php
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/m…
- lists.fedoraproject.org /archives/list/package-announce%40lists.fedoraproject.org/m…
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/mes…
- www.cisa.gov /known-exploited-vulnerabilities-catalog
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning