First published: Wed Oct 06 2010(Updated: )
Kees Cook reported an information leak flaw in the PHP's XMLWriter, triggered by an invalid UTF-8 string passed to the writeAttribute method: <a href="http://thread.gmane.org/gmane.comp.security.oss.general/4122">http://thread.gmane.org/gmane.comp.security.oss.general/4122</a> <a href="http://bugs.php.net/bug.php?id=52998">http://bugs.php.net/bug.php?id=52998</a> <a href="https://bugzilla.gnome.org/show_bug.cgi?id=631551">https://bugzilla.gnome.org/show_bug.cgi?id=631551</a> In the initial report, it was unclear if this is PHP or libxml2 flaw. libxml2 upstream author's reply in the gnome bugzilla bug suggests this issue needs to be addressed in PHP, as the libxml2 API requires input to be valid UTF-8 and \0 terminated string.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
debian/php5 | ||
PHP | >=5.0.0<5.4.4 | |
Red Hat Enterprise Linux | =6.0 | |
Red Hat Enterprise Linux | =5.0 | |
Debian GNU/Linux | =8.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2010-4657 is categorized as a moderate severity vulnerability due to the risk of information leakage.
To fix CVE-2010-4657, update your PHP installation to version 5.4.4 or later.
CVE-2010-4657 affects PHP versions from 5.0.0 to 5.4.4.
Yes, CVE-2010-4657 can be exploited remotely if the application processes untrusted input.
CVE-2010-4657 is an information leak vulnerability related to the XMLWriter component in PHP.