CVE-2013-1635: High severity php vulnerability
A security flaw was found in the way PHP performed soap.wsdlcachedir configuration directive validation before projecting SOAP WSDL cache content to the local filesystem. A remote attacker could use this flaw to place SOAP WSDL files at arbitrary file system locations (locations accessible 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=702b436ef470cc02f8e2cc21f2fadeee42103c74
Other sources
ext/soap/soap.c in PHP before 5.3.22 and 5.4.x before 5.4.13 does not validate the relationship between the soap.wsdlcachedir directive and the openbasedir directive, which allows remote attackers to bypass intended access restrictions by triggering the creation of cached SOAP WSDL files in an arbitrary directory.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2013-1635?
CVE-2013-1635 is considered to be of medium severity due to its potential for remote code execution.
How do I fix CVE-2013-1635?
To fix CVE-2013-1635, users should upgrade to PHP versions that are higher than 5.3.21 or follow the security patches provided by their distribution.
What causes CVE-2013-1635?
CVE-2013-1635 is caused by improper validation of the soap.wsdl_cache_dir configuration directive in PHP.
Is CVE-2013-1635 exploitable remotely?
Yes, CVE-2013-1635 can be exploited remotely if the vulnerable PHP version is exposed on a public network.
Which versions of PHP are affected by CVE-2013-1635?
CVE-2013-1635 affects PHP versions up to and including 5.3.21 and all 1.0, 2.0, 3.x versions.