CVE-2013-4113
What it is
ext/xml/xml.c in PHP before 5.3.27 does not properly consider parsing depth, which allows remote attackers to cause a denial of service (heap memory corruption) or possibly have unspecified other impact via a crafted document that is processed by the xml_parse_into_struct function.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 5.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 5.2% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 5.2% · EPSS, next 30 days
- Weakness
- CWE-787 · Out-of-bounds write
- Record status
- Modified
Affected
- PHP < 5.3.27
- PHP < 5.4.18
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-4113.md and follow it. Check whether this project is affected by CVE-2013-4113. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://php.net/ChangeLog-5.php
- http://php.net/archive/2013.php#id2013-07-11-1
- https://bugs.php.net/bug.php?id=65236
- http://php.net/ChangeLog-5.php
- http://php.net/archive/2013.php#id2013-07-11-1
- https://bugs.php.net/bug.php?id=65236
References
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=7d163e8a0880ae8af2dd869071393e5dc07ef271
- http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00034.html
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00007.html
- http://php.net/ChangeLog-5.php
- http://php.net/archive/2013.php#id2013-07-11-1
- http://rhn.redhat.com/errata/RHSA-2013-1049.html
- http://rhn.redhat.com/errata/RHSA-2013-1050.html
- http://rhn.redhat.com/errata/RHSA-2013-1061.html
- http://rhn.redhat.com/errata/RHSA-2013-1062.html
- http://rhn.redhat.com/errata/RHSA-2013-1063.html
- http://secunia.com/advisories/54071
- http://secunia.com/advisories/54104
- http://secunia.com/advisories/54163
- http://secunia.com/advisories/54165
- http://support.apple.com/kb/HT6150
- http://www.debian.org/security/2013/dsa-2723
- http://www.ubuntu.com/usn/USN-1905-1
- https://bugs.php.net/bug.php?id=65236
- https://bugzilla.redhat.com/show_bug.cgi?id=983689
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=7d163e8a0880ae8af2dd869071393e5dc07ef271
- http://lists.opensuse.org/opensuse-security-announce/2013-07/msg00034.html
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00007.html
- http://php.net/ChangeLog-5.php