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
| Vendor | Product | Affected 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.
References
- http://www.ubuntu.com/usn/USN-1761-1
- https://bugs.gentoo.org/show_bug.cgi?id=459904
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702221
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=8e76d0404b7f664ee6719fd98f0483f...
- http://lists.apple.com/archives/security-announce/2013/Sep/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00034.html
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
- http://rhn.redhat.com/errata/RHSA-2013-1307.html
- http://rhn.redhat.com/errata/RHSA-2013-1615.html
- http://secunia.com/advisories/55078
- http://support.apple.com/kb/HT5880
- http://www.debian.org/security/2013/dsa-2639
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:114
- http://www.php.net/ChangeLog-5.php
- https://bugzilla.redhat.com/show_bug.cgi?id=918187
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0101
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
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