CVE-2013-1643
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.
What to do
Likely to be exploited: EPSS gives a 10% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 6 | php | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-bcmath | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-cli | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-common | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-dba | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-devel | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-embedded | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-enchant | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-fpm | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-gd | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-imap | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-intl | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-ldap | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-mbstring | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-mysql | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-odbc | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-pdo | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-pgsql | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-process | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-pspell | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-recode | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-snmp | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-soap | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-tidy | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-xml | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-xmlrpc | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 6 | php-zts | Fixed | 0:5.3.3-26.el6 | RHSA-2013:1615 |
| Red Hat Enterprise Linux 5 | php | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-bcmath | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-cli | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-common | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-dba | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-devel | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-gd | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-imap | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-ldap | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-mbstring | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-mysql | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-ncurses | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-odbc | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-pdo | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-pgsql | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-snmp | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-soap | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-xml | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php-xmlrpc | Fixed | 0:5.1.6-43.el5_10 | RHSA-2013:1814 |
| Red Hat Enterprise Linux 5 | php53 | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-bcmath | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-cli | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-common | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-dba | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-devel | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-gd | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-imap | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-intl | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-ldap | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-mbstring | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-mysql | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-odbc | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-pdo | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-pgsql | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-process | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-pspell | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-snmp | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-soap | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-xml | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
| Red Hat Enterprise Linux 5 | php53-xmlrpc | Fixed | 0:5.3.3-21.el5 | RHSA-2013:1307 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- http://www.ubuntu.com/usn/USN-1761-1 (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:114 (vendor-advisory)
- http://lists.apple.com/archives/security-announce/2013/Sep/msg00002.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2013-1307.html (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2013-1615.html (vendor-advisory)
- http://www.debian.org/security/2013/dsa-2639 (vendor-advisory)
References
- http://www.ubuntu.com/usn/USN-1761-1
- https://bugs.gentoo.org/show_bug.cgi?id=459904
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=8e76d0404b7f664ee6719fd98f0483f0ac4669d6
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:114
- http://secunia.com/advisories/55078
- https://bugzilla.redhat.com/show_bug.cgi?id=918187
- http://www.php.net/ChangeLog-5.php
- http://lists.apple.com/archives/security-announce/2013/Sep/msg00002.html
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702221
- http://rhn.redhat.com/errata/RHSA-2013-1307.html
- http://rhn.redhat.com/errata/RHSA-2013-1615.html
- http://www.debian.org/security/2013/dsa-2639
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00034.html
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0101
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.