First published: Wed Jun 20 2007(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
PHP | =5.2.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2007-3294 is classified as a critical vulnerability due to its potential for arbitrary code execution.
To fix CVE-2007-3294, update PHP to a version later than 5.2.3 that does not contain this vulnerability.
CVE-2007-3294 specifically affects PHP 5.2.3 and may impact other products utilizing libtidy.
CVE-2007-3294 allows context-dependent attackers to execute arbitrary code through buffer overflows.
The functions tidy_parse_string and tidy_repair_string in libtidy are the primary sources of vulnerability in CVE-2007-3294.