Bug 165846 - CAN-2005-2498 PHP PEAR:XMLRPC eval code injection
Summary: CAN-2005-2498 PHP PEAR:XMLRPC eval code injection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: php
Version: 4.0
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Joe Orton
QA Contact: David Lawrence
URL:
Whiteboard: impact=important,embargo=yes,source=v...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-12 20:03 UTC by Josh Bressers
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: RHSA-2005-748
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-08-19 17:38:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:748 0 normal SHIPPED_LIVE Important: php security update 2005-08-19 04:00:00 UTC

Description Josh Bressers 2005-08-12 20:03:26 UTC
This issue was discovered by Stefan Esser:

This time it is not an escaping issue, but a logical error that allows
an attacker to nest XML tags in a way, that a single doublequote will be
appended to the eval string. The next string tag will add another
doublequote, then the string data and a closing doublequote. It should
be obvious that this means the stringdata is not handled as string but
as actual code due to this.

Comment 1 Josh Bressers 2005-08-12 20:04:19 UTC
This issue should also affect RHEL3

Comment 2 Josh Bressers 2005-08-15 13:10:04 UTC
This issue is now public:
http://marc.theaimsgroup.com/?l=full-disclosure&m=112410998530016&w=2

Comment 3 Red Hat Bugzilla 2005-08-19 17:38:12 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-748.html



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