Australia's Leading Computer Emergency Response Team

ESB-2011.0063.2 - UPDATE [UNIX/Linux] libpng: Execute arbitrary code/commands - Remote with user interaction
Date: 10 February 2012
Original URL: http://www.auscert.org.au/render.html?cid=1980&it=13850

Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                              ESB-2011.0063.2
               libpng png_set_rgb_to_gray() buffer overflow
                             10 February 2012

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           libpng
Publisher:         ISS
Operating System:  UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote with User Interaction
                   Denial of Service               -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2011-0408  

Original Bulletin: 
   http://xforce.iss.net/xforce/xfdb/64637

Revision History:  February 10 2012: Corrected formatting
                   January  19 2011: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

libpng png_set_rgb_to_gray() buffer overflow
libpng-pngsetrgbtogray-bo (64637) 	
The risk level is classified as High

Description:

libpng is vulnerable to a buffer overflow, caused by improper bounds checking 
by the png_set_rgb_to_gray() function. By persuading a victim to open a 
specially-crafted PNG file, a remote attacker could overflow a buffer and 
execute arbitrary code on the system or cause the application to crash.

*CVSS:
  Base Score: 			6.8
  Access Vector: 		Network
  Access Complexity: 		Medium
  Authentication: 		None
  Confidentiality Impact: 	Partial
  Integrity Impact: 		Partial
  Availability Impact: 		Partial
 
  Temporal Score: 		5
  Exploitability: 		Unproven
  Remediation Level: 		Official-Fix
  Report Confidence: 		Confirmed

Consequences:

Gain Access

Remedy:

Upgrade to the latest version of libpng (1.5.1beta01 or later), available from 
the libpng Web site. See References.

References:

    * libpng Web Site: libpng is the official PNG reference library.
    * SourceForge: PNG and MNG/JNG image formats: Release of libpng-1.5.0.
    * BID-45761: Libpng 'png_set_rgb_to_gray()' Remote Code Execution 
      Vulnerability
    * CVE-2011-0408: ** RESERVED ** This candidate has been reserved by an 
      organization or individual that will use it when announcing a new 
      security problem. When the candidate has been publicized, the details 
      for this candidate will be provided.
    * SA42863: libpng png_do_rgb_to_gray() PNG Processing Vulnerability
    * VUPEN/ADV-2011-0080: Libpng png_set_rgb_to_gray() Transform Buffer 
      Overflow Vulnerability

Platforms Affected:

    * libpng libpng 1.5.0

Reported:

Jan 08, 2011

The information within this database may change without notice. Use of this 
information constitutes acceptance for use in an AS IS condition. There are 
NO warranties, implied or otherwise, with regard to this information or its 
use. Any use of this information is at the user's risk. In no event shall the 
author/distributor (IBM Internet Security Systems X-Force) be held liable for 
any damages whatsoever arising out of or in connection with the use or spread 
of this information.

For corrections or additions please email xforce@iss.net

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the 
Common Vulnerability Scoring System (CVSS) is an "industry open standard 
designed to convey vulnerability severity and help to determine urgency and 
priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY
OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT 
OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.

The information within this database may change without notice. Use of this 
information constitutes acceptance for use in an AS IS condition. There are 
NO warranties, implied or otherwise, with regard to this information or its 
use. Any use of this information is at the user's risk. In no event shall IBM 
be held liable for any damages whatsoever arising out of or in connection 
with the use or spread of this information.

About IBM Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of 
the world's leading businesses and governments, helping to provide pre-
emptive protection for networks, desktops and servers. The IBM Proventia? 
integrated security platform is designed to automatically protect against 
both known and unknown threats, helping to keep networks up and running and 
shield customers from online attacks before they impact business assets. IBM 
Internet Security Systems products and services are based on the proactive 
security intelligence of its X-Force? research and development team ? an 
unequivocal world authority in vulnerability and threat research. The IBM 
Internet Security Systems product line is also complemented by comprehensive 
Managed Security Services and Professional Security Services. For more 
information, visit the IBM Internet Security Systems Web site at www.iss.net 
or call 800-776-2362.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBTzRYl+4yVqjM2NGpAQLZ9BAAnqJ69ymCw+jaDKebO1sPdw1aNtA10KPP
fo58hWDgM/KpNCJ6qGZUh0viiptGu8yzI7OiWPpnoBM6DkS1KjKYpsWKMzBNPFnw
Y9sfbP9cDjcb659WUajvJ5veAWKFy9+KCsJYRKt3hQqSmJll5Z17HDs9APv83Mjn
YQa9mf1GhzAWlUZhWDD85Zwk/NERXAFQ45/WlXYORC14Wd9DYl+IlsHAEEafD25l
DXafUGWh/xi/mNViMxu5l08hBS8sidpTAhIahvM6rKROEpB2l762gveiIEcuhRAG
bQ5+AfOzaMpPcpcLXX98usIoxomXkI7zI3RpFkOkAo8MXDOskxnHukdGmQJRQq7M
S9yLEYf6h7o3+IvsGFSJftz7LJKOo2lj+iixs0w/HhmzHlClP25DOHLjB2XJBexQ
FgugN1HqLywipNTyR6YcI8SvvGkCjd0diNUdfD94qkN8FaWFgriLt0Eb02vLPBmd
JfKbnvhqyGR1rmuO8CBXIB1xS/y+Pzn9RlHvPTAd1CWGVfD5MM8bMHBFSx9pIy96
CiPuMzf9MwNdL+UkTCPRFRgiBOe4Qiz17VYGJMC7aE1Jv9U2NImL+ID2FOKnguBg
u0UlzOGc2jcRnYBA6AEBcV5/S+RGRY+lwvSYw+/GmNdLIITxeTpq5VyHYdMw5Oe8
730w1API7q4=
=0tx+
-----END PGP SIGNATURE-----