|
PHP "wordwrap()" Buffer Overflow Vulnerability
|
|
Secunia Advisory:
|
SA19803
|
|
|
Release Date:
|
2006-04-25
|
|
Last Update:
|
2006-08-03
|
|
Popularity:
|
14,186 views
|
|
|
Critical:
|
 Less critical
|
|
Impact:
|
System access
|
|
Where:
|
From remote
|
|
Solution Status:
|
Vendor Patch
|
|
| Software: | 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-1990 CVE-2006-1991
|
|
Description: Leon Juranic has discovered a vulnerability in PHP, which potentially can be exploited by malicious people to compromise a vulnerable system.
The vulnerability is caused due to a boundary error in the PHP "wordwrap()" function. This can be exploited to cause a heap-based buffer overflow via overly long strings passed to the function.
The vulnerability has been confirmed in version 5.1.2 and also reported in version 4.4.2. Other versions may also be affected.
Solution: Update to version 4.4.3 or 5.1.3.
http://www.php.net/downloads.php
Ensure that PHP scripts do not call the "wordwrap()" PHP function with input originating from untrusted sources.
Provided and/or discovered by: Leon Juranic
Changelog: 2006-04-26: Added CVE reference.
2006-04-27: Added CVE reference.
2006-05-04: Updated "Solution" section.
2006-08-03: Updated "Solution" section.
Original Advisory: http://www.infigo.hr/hr/in_focus/advisories/INFIGO-2006-04-02
|
|
|
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.
|