|
PHP "gdPngReadData()" Truncated PNG Data Denial of Service
|
|
Secunia Advisory:
|
SA25378
|
|
|
Release Date:
|
2007-05-22
|
|
Last Update:
|
2007-06-01
|
|
Popularity:
|
9,627 views
|
|
|
Critical:
|
 Less critical
|
|
Impact:
|
DoS
|
|
Where:
|
From remote
|
|
Solution Status:
|
Partial Fix
|
|
| Software: | PHP 4.3.x PHP 4.4.x PHP 5.0.x PHP 5.1.x PHP 5.2.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2007-2756
|
|
Description: Xavier Roche has reported a vulnerability in PHP, which can be exploited by malicious people to cause a DoS (Denial of Service).
The vulnerability is caused due to the incorrect use of libpng within the function "gdPngReadData()" in ext/gd/libgd/gd_png.c of the GD extension when processing truncated data. This can be exploited to cause an infinite loop by e.g. tricking an application to process a specially crafted file.
The vulnerability is reported in versions 4.4.7 and 5.2.2. Other versions may also be affected.
Solution: Update to version 5.2.3.
http://www.php.net/downloads.php#v5
Fixed in the CVS repository.
http://viewcvs.php.net/viewvc.cgi/gd/...?r1=1.22&r2=1.23&pathrev=HEAD
Provided and/or discovered by: Xavier Roche
Changelog: 2007-06-01: Updated "Solution" section. Added link to "Original Advisory" section.
Original Advisory: PHP:
http://www.php.net/releases/5_2_3.php
http://bugs.libgd.org/?do=details&task_id=86
|
|
|
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.
|