CVE-2013-1643: Infoleak
A security flaw was found in the way SOAP parser of PHP processed certain SOAP objects (due to allowed expansion of XML external entities during SOAP WSDL files parsing, it was previously possible to read arbitrary system files, accessible with the privileges of the PHP application). If a PHP application accepted untrusted SOAP object input remotely from clients, an attacker could use this flaw for unauthorized of read system files (accesible with the privileges of the PHP application).
References: [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702221 [2] https://bugs.gentoo.org/showbug.cgi?id=459904 [3] http://www.mandriva.com/en/support/security/advisories/advisory/MDVSA-2013:016/
Relevant upstream patch: [4] http://git.php.net/?p=php-src.git;a=commitdiff;h=c737b89473df9dba6742b8fc8fbf6d009bf05c36
Other sources
The SOAP parser in PHP before 5.3.23 and 5.4.x before 5.4.13 allows remote attackers to read arbitrary files via a SOAP WSDL file containing an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue in the soapxmlParseFile and soapxmlParseMemory functions. NOTE: this vulnerability exists because of an incorrect fix for CVE-2013-1824.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2013-1643?
The severity of CVE-2013-1643 is considered high due to its potential to allow unauthorized file access.
How do I fix CVE-2013-1643?
To fix CVE-2013-1643, upgrade PHP to version 5.3.23 or 5.4.13 or later.
Which versions of PHP are affected by CVE-2013-1643?
CVE-2013-1643 affects PHP versions up to and including 5.3.21 and 5.4.12.
What vulnerabilities can CVE-2013-1643 exploit?
CVE-2013-1643 can exploit vulnerabilities in the SOAP parser to read arbitrary system files.
Is CVE-2013-1643 remote code execution vulnerability?
CVE-2013-1643 is not a remote code execution vulnerability but allows file access on the server.