Executive Summary

Informations
NameCVE-2012-1823First vendor Publication2012-05-11
VendorCveLast vendor Modification2012-11-06

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score7.5Attack RangeNetwork
Cvss Impact Score6.4Attack ComplexityLow
Cvss Expoit Score10AuthentificationNone Required
Calculate full CVSS 2.0 Vectors scores

Detail

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.

Original Source

Url : http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-1823

CWE : Common Weakness Enumeration

idName
CWE-20Improper Input Validation

CPE : Common Platform Enumeration

TypeDescriptionCount
Application52

SAINT Exploits

DescriptionLink
PHP CGI Query String Parameters Command ExecutionMore info here

ExploitDB Exploits

idDescription
2012-05-05PHP CGI Argument Injection Exploit
2012-05-04PHP CGI Argument Injection

Metasploit Database

idDescription
2012-05-03 PHP CGI Argument Injection

Internal Sources (Detail)

SourceUrl
APPLEhttp://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
CERT-VNhttp://www.kb.cert.org/vuls/id/520827
CONFIRMhttp://support.apple.com/kb/HT5501
http://www.php.net/archive/2012.php#id2012-05-03-1
http://www.php.net/ChangeLog-5.php#5.4.2
https://bugs.php.net/bug.php?id=61910
https://bugs.php.net/patch-display.php?bug_id=61910&patch=cgi.diff&re...
HPhttp://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c03360041
http://marc.info/?l=bugtraq&m=134012830914727&w=2
http://marc.info/?l=bugtraq&m=134012830914727&w=2
MISChttp://eindbazen.net/2012/05/php-cgi-advisory-cve-2012-1823/
REDHAThttp://rhn.redhat.com/errata/RHSA-2012-0546.html
http://rhn.redhat.com/errata/RHSA-2012-0547.html
http://rhn.redhat.com/errata/RHSA-2012-0568.html
SECTRACKhttp://www.securitytracker.com/id?1027022
SECUNIAhttp://secunia.com/advisories/49014
http://secunia.com/advisories/49065
http://secunia.com/advisories/49085
http://secunia.com/advisories/49087

Alert History

If you want to see full details history, please login or register.
0
1
2
3
4
DateInformations
2013-05-10 22:36:59
  • Multiple Updates
2013-05-01 17:22:42
  • Multiple Updates
2013-05-01 13:28:10
  • Multiple Updates
2013-05-01 09:22:50
  • Multiple Updates
2013-05-01 05:38:35
  • Multiple Updates