Bug 306821 (CVE-2007-3294) - CVE-2007-3294 php tidy extension buffer overflow
Summary: CVE-2007-3294 php tidy extension buffer overflow
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2007-3294
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: http://nvd.nist.gov/nvd.cfm?cvename=C...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-26 12:13 UTC by Tomas Hoger
Modified: 2021-11-12 19:41 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-09-26 15:48:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Hoger 2007-09-26 12:13:22 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2007-3294 to the following vulnerability:

Multiple buffer overflows in libtidy, as used in the Tidy extension for PHP 5.2.3 and possibly other products, allow context-dependent attackers to execute arbitrary code via (1) a long second argument to the tidy_parse_string function or (2) an unspecified vector to the tidy_repair_string function.  NOTE: this might only be an issue in environments where vsnprintf is implemented as a wrapper for vsprintf.

References:

http://www.milw0rm.com/exploits/4080
http://secunia.com/advisories/25735
http://xforce.iss.net/xforce/xfdb/34931

Comment 1 Tomas Hoger 2007-09-26 12:19:17 UTC
This issue does not affect php as shipped in Red Hat Enterprise Linux 2.1, 3, 4,
or 5, as those packages are not built with libtidy support.

Comment 2 Tomas Hoger 2007-09-26 15:48:58 UTC
php-tidy in Fedora does not demonstrate any problems with large arguments passed
to tidy functions.


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