First published: Thu Jul 11 2013(Updated: )
An array index error, leading to invalid free flaw was found in the way XML extension of PHP, a scripting language for creating dynamic web sites, used to convert certain XML files into PHP language internal structures. Remote attacker could provide a specially-crafted XML file, that when opened in an PHP application would lead to that application crash or, potentially, arbitrary code execution with the privileges of the user running the application. References: <a href="http://php.net/archive/2013.php#id2013-07-11-1">http://php.net/archive/2013.php#id2013-07-11-1</a> <a href="http://www.php.net/ChangeLog-5.php#5.3.27">http://www.php.net/ChangeLog-5.php#5.3.27</a> Upstream bug report: <a href="https://bugs.php.net/bug.php?id=65236">https://bugs.php.net/bug.php?id=65236</a> Relevant patch: <a href="https://bugs.php.net/patch-display.php?bug_id=65236&patch=bug65236.diff&revision=latest">https://bugs.php.net/patch-display.php?bug_id=65236&patch=bug65236.diff&revision=latest</a> <a href="http://git.php.net/?p=php-src.git;a=commitdiff;h=7d163e8a0880ae8af2dd869071393e5dc07ef271">http://git.php.net/?p=php-src.git;a=commitdiff;h=7d163e8a0880ae8af2dd869071393e5dc07ef271</a>
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/php | <5.3.27 | 5.3.27 |
redhat/php | <5.4.18 | 5.4.18 |
PHP | >=5.3.0<5.3.27 | |
PHP | >=5.4.0<5.4.18 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2013-4113 is classified as a medium severity vulnerability due to the potential for remote code execution via a specially-crafted XML file.
To remediate CVE-2013-4113, upgrade PHP to version 5.3.27 or 5.4.18 or later.
CVE-2013-4113 affects PHP versions prior to 5.3.27 and 5.4.18.
CVE-2013-4113 is categorized as an array index error leading to an invalid free flaw.
Yes, CVE-2013-4113 can be exploited remotely by an attacker providing a malicious XML file.