Colin Watson man-db 2.3.x/2.4.x MANPATH/PATH 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.7$0-$5k0.00

A vulnerability has been found in Colin Watson man-db 2.3.x/2.4.x and classified as critical. Affected by this vulnerability is an unknown functionality. The manipulation of the argument MANPATH/PATH with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Multiple buffer overflows in man-db 2.4.1 and earlier, when installed setuid, allow local users to gain privileges via (1) MANDATORY_MANPATH, MANPATH_MAP, and MANDB_MAP arguments to add_to_dirlist in manp.c, (2) a long pathname to ult_src in ult_src.c, (3) a long .so argument to test_for_include in ult_src.c, (4) a long MANPATH environment variable, or (5) a long PATH environment variable.

The weakness was released 07/29/2003 by Vade 79 as not defined posting (Bugtraq). It is possible to read the advisory at securityfocus.com. This vulnerability is known as CVE-2003-0620 since 07/31/2003. The attack can only be done within the local network. The exploitation doesn't need any form of authentication. Technical details and also a exploit are known.

It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 15201 (Debian DSA-364-3 : man-db - buffer overflows, arbitrary command execution), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Debian Local Security Checks and running in the context l.

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at man-db.sourceforge.net. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at X-Force (12769) and Tenable (15201). Entries connected to this vulnerability are available at 208, 209, 210 and 20793.

Productinfo

Vendor

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
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
ATT&CK: Unknown

Local: No
Remote: Partially

Availability: 🔍
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 15201
Nessus Name: Debian DSA-364-3 : man-db - buffer overflows, arbitrary command execution
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 53653
OpenVAS Name: Debian Security Advisory DSA 364-1 (man-db)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Patch: man-db.sourceforge.net

Timelineinfo

07/29/2003 🔍
07/29/2003 +0 days 🔍
07/29/2003 +0 days 🔍
07/31/2003 +2 days 🔍
07/31/2003 +0 days 🔍
08/27/2003 +27 days 🔍
04/09/2004 +225 days 🔍
09/29/2004 +173 days 🔍
11/13/2012 +2967 days 🔍
06/26/2019 +2416 days 🔍

Sourcesinfo

Advisory: securityfocus.com
Researcher: Vade 79
Status: Not defined

CVE: CVE-2003-0620 (🔍)
OVAL: 🔍

X-Force: 12769 - man-db PATH and MANPATH variables in multiple functions buffer overflow, Low Risk
Vulnerability Center: 37183 - Man-db <=2.4.1 Local Privilege Gain via Multiple Arguments, Medium
SecurityFocus: 8303 - Multiple ManDB Utility Local Buffer Overflow Vulnerabilities
Secunia: 9391 - man-db Multiple Buffer Overflow Vulnerabilities, Less Critical
OSVDB: 10253 - man-db Multiple PATH Variable Overflows

See also: 🔍

Entryinfo

Created: 07/31/2003 12:02
Updated: 06/26/2019 10:23
Changes: 07/31/2003 12:02 (89), 06/26/2019 10:23 (4)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!