|
PHP "htmlentities()" and "htmlspecialchars()" Buffer Overflows
|
|
|
|
|
Secunia Advisory:
|
SA22653
|
|
|
Release Date:
|
2006-11-02
|
|
Last Update:
|
2006-11-03
|
|
|
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
|
| | CVE reference: | CVE-2006-5465 (Secunia mirror)
|
|
|
Want to know the next time vulnerabilities are fixed in this product? - Companies can be alerted via email and SMS! |
|
|
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.
Do you have this product installed on your home computer? Scan using the free Personal Software Inspector. Check if a vulnerable version is installed on computers in your corporate network, scan using the Network Software Inspector.
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
|
|
|
|
|
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.
|
|
|
|
47 Related Secunia Security Advisories, displaying 10
|
|
|
1. PHP Multiple Vulnerabilities
|
|
2. PHP COM Objects Security Bypass
|
|
3. PHP crypt() Race Condition Vulnerability
|
|
4. PHP "gdPngReadData()" Truncated PNG Data Denial of Service
|
|
5. PHP Multiple Vulnerabilities
|
|
6. PHP "FILTER_VALIDATE_EMAIL" Filter Newline Injection
|
|
7. PHP "readwbmp()" Integer Overflow Vulnerability
|
|
8. PHP Multiple Code Execution Vulnerabilities
|
|
9. PHP Interbase Extension "isc_attach_database()" Buffer Overflow
|
|
10. PHP Session Handling Double Free Vulnerabilities
|
Show all related advisories
|
|
|
Send Feedback to Secunia
|
|
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.
|
|
|
|