|
PHP "htmlentities()" and "htmlspecialchars()" Buffer Overflows
|
|
Secunia Advisory:
|
SA22653
|
|
|
Release Date:
|
2006-11-02
|
|
Last Update:
|
2006-11-03
|
|
Popularity:
|
26,992 views
|
|
|
Critical:
|
 Highly critical
|
|
Impact:
|
DoS System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | PHP 4.0.x PHP 4.1.x PHP 4.2.x PHP 4.3.x PHP 4.4.x PHP 5.0.x PHP 5.1.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2006-5465
|
|
Description: Some vulnerabilities have been reported in PHP, which can be exploited by malicious people to cause a DoS (Denial of Service) or potentially compromise a vulnerable system.
The vulnerabilities are caused due to boundary errors within the "htmlentities()" and "htmlspecialchars()" functions. If a PHP application uses these functions to process user-supplied input, this can be exploited to cause a heap-based buffer overflow by passing specially crafted data to the affected application.
Successful exploitation may allow execution of arbitrary code, but requires that the UTF-8 character set is selected.
Solution: Update to version 5.2.0.
Provided and/or discovered by: Stefan Esser
Changelog: 2006-11-03: Added additional information provided by the Hardened-PHP Project. Added link to Hardened-PHP Project advisory. Updated "Solution" Section.
Original Advisory: http://www.ubuntu.com/usn/usn-375-1
Other References: http://www.hardened-php.net/advisory_132006.138.html
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|