Bug 673101 (CVE-2010-4657) - CVE-2010-4657 php: XMLWriter information leak
Summary: CVE-2010-4657 php: XMLWriter information leak
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2010-4657
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-27 12:52 UTC by Tomas Hoger
Modified: 2021-06-11 21:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-11 21:04:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Hoger 2011-01-27 12:52:57 UTC
Kees Cook reported an information leak flaw in the PHP's XMLWriter, triggered by an invalid UTF-8 string passed to the writeAttribute method:

  http://thread.gmane.org/gmane.comp.security.oss.general/4122
  http://bugs.php.net/bug.php?id=52998
  https://bugzilla.gnome.org/show_bug.cgi?id=631551

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.

Comment 1 Tomas Hoger 2011-01-27 12:55:34 UTC
Testing with the reproducer in upstream PHP bug, this is reproducible with PHP 5.3 packages in RHEL-6 (php) and RHEL-5 (php53).  No visible leak on php (5.1.6) packages in RHEL-5.  XMLWriter was introduced in 5.1.2, hence RHEL-4 php is unaffected.

Comment 5 Product Security DevOps Team 2021-06-11 21:04:24 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2010-4657


Note You need to log in before you can comment on or make changes to this bug.