Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


PHP "gdPngReadData()" Truncated PNG Data Denial of Service Advisory Available in Danish  Advisory Available in German 

Secunia Advisory: SA25378  
Release Date: 2007-05-22
Last Update: 2007-06-01

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

CVE reference:CVE-2007-2756 (Secunia mirror)



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



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.

54 Related Secunia Security Advisories, displaying 10

1. PHP Multiple Vulnerabilities
2. PHP Multiple Vulnerabilities
3. PHP Multiple Vulnerabilities
4. PHP COM Objects Security Bypass
5. PHP Multiple Vulnerabilities
6. PHP "glob()" Code Execution Vulnerability
7. PHP Multiple Extensions Buffer Overflow Vulnerabilities
8. PHP Integer Overflow Vulnerability and Security Bypass
9. PHP crypt() Race Condition Vulnerability
10. PHP SOAP Extension HTTP Authentication Weak Nonce

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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Mozilla Firefox Multiple Vulnerabilities
2.
Opera for Windows Unspecified Code Execution
3.
VLC Media Player WAV Processing Integer Overflow
4.
Mozilla Thunderbird Multiple Vulnerabilities
5.
PCRE pcre_compile.c Buffer Overflow Vulnerability
6.
GNOME Glib PCRE pcre_compile.c Buffer Overflow Vulnerability
7.
Fedora update for glib2
8.
UnixWare ReliantHA Privilege Escalation Vulnerabilities
9.
zlib Denial of Service Vulnerability
10.
Novell eDirectory ds.dlm Module Buffer Overflow





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia