Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
5.0

CVE-2013-1643: PHP SOAP parser can expose any file to attackers

CVE-2013-1643 · published 13 years ago
Summary

Versions of PHP prior to 5.3.23 and 5.4.13 allow a specially crafted SOAP description file to trick the parser into revealing any file on the server. This happens because the parser incorrectly processes external entity references in XML. Upgrade PHP to the fixed versions or apply a patch that disables external entity processing.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
php php <= 5.3.21
1.0
2.0
2.0b10
3.0
3.0.1
3.0.2
3.0.3
3.0.4
3.0.5
3.0.6
3.0.7
114 more version ranges
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
Original advisory text
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 a...
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 soap_xmlParseFile and soap_xmlParseMemory functions. NOTE: this vulnerability exists because of an incorrect fix for CVE-2013-1824.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
5.0 Medium
Exploitation
10% chance of attack within 30 days
Type
CWE-200Information Exposure
Timeline
Published6 Mar 2013
Updated15 Oct 2026
First seen29 Sep 2026
Sources
CVE-2013-1643 · NVD
Track software like this
Free during beta