GNU Binutils messages.c as_bad memory corruption

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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability classified as critical was found in GNU Binutils. The impacted element is the function as_bad of the file messages.c. Such manipulation leads to memory corruption. This vulnerability is uniquely identified as CVE-2005-4807. Moreover, an exploit is present.

Detailsinfo

A vulnerability was found in GNU Binutils (Programming Tool Software) (version unknown) and classified as critical. Affected by this issue is the function as_bad of the file messages.c. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. CVE summarizes:

Stack-based buffer overflow in the as_bad function in messages.c in the GNU as (gas) assembler in Free Software Foundation GNU Binutils before 20050721 allows attackers to execute arbitrary code via a .c file with crafted inline assembly code.

The bug was discovered 07/18/2005. The weakness was disclosed 08/17/2006 by Tavis Ormandy (taviso) with Gentoo (Website). The advisory is shared for download at ubuntu.com. This vulnerability is handled as CVE-2005-4807 since 08/18/2006. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Technical details as well as a public exploit are known.

A public exploit has been developed in Shell File and been published before and not just after the advisory. The exploit is available at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 166 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 27915 (Ubuntu 5.04 / 5.10 : binutils vulnerability (USN-336-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the databases at Exploit-DB (28397), Tenable (27915), SecurityFocus (BID 19555†), OSVDB (27960†) and Secunia (SA21508†). The entry VDB-28113 is pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 27915
Nessus Name: Ubuntu 5.04 / 5.10 : binutils vulnerability (USN-336-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

07/18/2005 🔍
07/18/2005 +0 days 🔍
12/31/2005 +166 days 🔍
12/31/2005 +0 days 🔍
08/17/2006 +229 days 🔍
08/17/2006 +0 days 🔍
08/17/2006 +0 days 🔍
08/17/2006 +0 days 🔍
08/18/2006 +0 days 🔍
11/10/2007 +449 days 🔍
11/29/2007 +19 days 🔍
03/12/2015 +2660 days 🔍
01/02/2025 +3584 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: ubuntu.com
Researcher: Tavis Ormandy (taviso)
Organization: Gentoo
Status: Not defined

CVE: CVE-2005-4807 (🔍)
GCVE (CVE): GCVE-0-2005-4807
GCVE (VulDB): GCVE-100-28112
SecurityFocus: 19555 - GNU BinUtils GAS Buffer Overflow Vulnerability
Secunia: 21508 - GNU Binutils assembler Buffer Overflow Vulnerability, Less Critical
OSVDB: 27960 - GNU Binutils Assembler as_bad() Function Local Overflow
Vulnerability Center: 16945 - GNU Binutils before 20050721 GAS Stack Based Buffer Overflow Allows Code Execution via a .c File, Medium
Vupen: ADV-2006-3307

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/12/2015 11:11
Updated: 01/02/2025 16:58
Changes: 03/12/2015 11:11 (63), 01/09/2017 09:11 (18), 07/07/2021 10:55 (3), 01/02/2025 16:58 (19)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!