NetBSD up to 1.6 ELF Header readelf.c tryelf 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.
5.3$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic has been found in NetBSD 1.5/1.5.1/1.5.2/1.5.3/1.6. Impacted is the function tryelf of the file readelf.c of the component ELF Header Handler. The manipulation leads to memory corruption. This vulnerability is documented as CVE-2003-0102. Additionally, an exploit exists. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability was found in NetBSD 1.5/1.5.1/1.5.2/1.5.3/1.6 (Operating System) and classified as problematic. This issue affects the function tryelf of the file readelf.c of the component ELF Header Handler. 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. The summary by CVE is:

Buffer overflow in tryelf() in readelf.c of the file command allows attackers to execute arbitrary code as the user running file, possibly via a large entity size value in an ELF header (elfhdr.e_shentsize).

The bug was discovered 03/04/2003. The weakness was released 03/18/2003 as confirmed advisory (CERT.org). The advisory is shared at kb.cert.org. The identification of this vulnerability is CVE-2003-0102. The exploitation is known to be easy. An attack has to be approached locally. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known.

A public exploit has been developed in ANSI C. 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 14 days. During that time the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 14014 (Mandrake Linux Security Advisory : file (MDKSA-2003:030-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks and running in the context l.

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

The vulnerability is also documented in the databases at X-Force (11488), Exploit-DB (22324), Tenable (14014), SecurityFocus (BID 7008†) and OSVDB (6456†). Entry connected to this vulnerability is available at VDB-21082. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.9
VulDB Meta Temp Score: 5.3

VulDB Base Score: 5.9
VulDB Temp Score: 5.3
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: Partially
Local: Yes
Remote: No

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 14014
Nessus Name: Mandrake Linux Security Advisory : file (MDKSA-2003:030-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 53591
OpenVAS Name: Debian Security Advisory DSA 260-1 (file)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Timelineinfo

03/04/2003 🔍
03/04/2003 +0 days 🔍
03/04/2003 +0 days 🔍
03/18/2003 +14 days 🔍
03/18/2003 +0 days 🔍
04/17/2003 +30 days 🔍
07/31/2004 +471 days 🔍
05/21/2007 +1024 days 🔍
08/08/2014 +2636 days 🔍
01/23/2025 +3821 days 🔍

Sourcesinfo

Advisory: kb.cert.org
Status: Confirmed

CVE: CVE-2003-0102 (🔍)
GCVE (CVE): GCVE-0-2003-0102
GCVE (VulDB): GCVE-100-20201
CERT: 🔍
X-Force: 11488
SecurityFocus: 7008 - File Local Stack Overflow Code Execution Vulnerability
OSVDB: 6456 - file(1) AFCTR tool read() buffer overflow
Vulnerability Center: 15189 - File Command Buffer Overflow Allows Local Code Execution, High

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

Entryinfo

Created: 08/08/2014 11:32
Updated: 01/23/2025 21:38
Changes: 08/08/2014 11:32 (78), 07/19/2019 16:13 (6), 12/26/2024 13:12 (17), 01/23/2025 21:38 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!