Cosmin Truta OptiPNG up to 0.6.2 gifread.c realloc resource management

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
9.0$0-$5k0.00

Summaryinfo

A vulnerability was found in Cosmin Truta OptiPNG and classified as critical. The affected element is the function realloc in the library lib/pngxtern/gif/gifread.c. The manipulation results in resource management. This vulnerability is reported as CVE-2009-0749. No exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in Cosmin Truta OptiPNG. It has been classified as critical. Affected is the function realloc in the library lib/pngxtern/gif/gifread.c. The manipulation with an unknown input leads to a resource management vulnerability. CWE is classifying the issue as CWE-399. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

Use-after-free vulnerability in the GIFReadNextExtension function in lib/pngxtern/gif/gifread.c in OptiPNG 0.6.2 and earlier allows context-dependent attackers to cause a denial of service (application crash) via a crafted GIF image that causes the realloc function to return a new pointer, which triggers memory corruption when the old pointer is accessed.

The bug was discovered 02/22/2009. The weakness was disclosed 03/02/2009 (Website). The advisory is shared for download at vupen.com. This vulnerability is traded as CVE-2009-0749 since 03/02/2009. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. There are known technical details, but no exploit is available.

It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 8 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 40097 (openSUSE Security Update : optipng (optipng-972)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165632 (SUSE Enterprise Linux Security Update (SUSE-SR:2009:012)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 4 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (48879), Tenable (40097), SecurityFocus (BID 33873†), OSVDB (55788†) and Secunia (SA34035†). The entries VDB-46941, VDB-46940, VDB-46498 and VDB-47986 are pretty similar. Once again VulDB remains the best source for vulnerability data.

Productinfo

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 9.0

VulDB Base Score: 10.0
VulDB Temp Score: 9.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Resource management
CWE: CWE-399 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 40097
Nessus Name: openSUSE Security Update : optipng (optipng-972)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 63458
OpenVAS Name: Fedora Core 9 FEDORA-2009-2098 (optipng)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

02/22/2009 🔍
02/22/2009 +0 days 🔍
02/22/2009 +0 days 🔍
02/24/2009 +2 days 🔍
03/02/2009 +6 days 🔍
03/02/2009 +0 days 🔍
03/02/2009 +0 days 🔍
03/09/2009 +7 days 🔍
06/09/2009 +92 days 🔍
07/21/2009 +42 days 🔍
03/17/2015 +2065 days 🔍
08/30/2019 +1627 days 🔍

Sourcesinfo

Advisory: vupen.com
Status: Not defined
Confirmation: 🔍

CVE: CVE-2009-0749 (🔍)
GCVE (CVE): GCVE-0-2009-0749
GCVE (VulDB): GCVE-100-46932
X-Force: 48879
SecurityFocus: 33873 - OptiPNG GIF Image Handling Memory Corruption Vulnerability
Secunia: 34035 - OptiPNG "GIFReadNextExtension()" Use-After-Free Vulnerability, Highly Critical
OSVDB: 55788 - OptiPNG - GIF Image Handling Memory Corruption Issue
Vulnerability Center: 21221 - OptiPNG 0.6.2 and Prior DoS Vulnerability via a Crafted GIF Image, Medium
Vupen: ADV-2009-0510

See also: 🔍

Entryinfo

Created: 03/17/2015 16:11
Updated: 08/30/2019 14:09
Changes: 03/17/2015 16:11 (82), 08/30/2019 14:09 (5)
Complete: 🔍
Cache ID: 216:1F9:103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!