Colin Watson man-db 2.3.x/2.4.x ~/.manpath add_to_dirlist memory corruption
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 0.00 |
Summary
A vulnerability described as critical has been identified in Colin Watson man-db 2.3.x/2.4.x. Affected is the function add_to_dirlist of the file ~/.manpath. Executing a manipulation can lead to memory corruption.
This vulnerability appears as CVE-2003-0620. The attacker needs to be present on the local network. In addition, an exploit is available.
Upgrading the affected component is recommended.
Details
A vulnerability classified as critical was found in Colin Watson man-db 2.3.x/2.4.x. This vulnerability affects the function add_to_dirlist of the file ~/.manpath. The manipulation 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. CVE summarizes:
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 presented 07/29/2003 by Vade 79 as not defined posting (Bugtraq). The advisory is shared for download at securityfocus.com. This vulnerability was named CVE-2003-0620 since 07/31/2003. Access to the local network is required for this attack. No form of authentication is required for a successful exploitation. Technical details and also a public 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 Exploit-DB (22971), Tenable (15201), SecurityFocus (BID 8303†), OSVDB (10252†) and Secunia (SA9391†). See VDB-209, VDB-210, VDB-211 and VDB-20793 for similar entries. VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Vendor
Name
Version
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 5.7
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Patch: man-db.sourceforge.net
Timeline
07/29/2003 🔍07/29/2003 🔍
07/31/2003 🔍
07/31/2003 🔍
08/27/2003 🔍
09/29/2004 🔍
11/16/2024 🔍
Sources
Advisory: securityfocus.com⛔Researcher: Vade 79
Status: Confirmed
CVE: CVE-2003-0620 (🔍)
GCVE (CVE): GCVE-0-2003-0620
GCVE (VulDB): GCVE-100-208
OVAL: 🔍
SecurityFocus: 8303 - Multiple ManDB Utility Local Buffer Overflow Vulnerabilities
Secunia: 9391 - man-db Multiple Buffer Overflow Vulnerabilities, Less Critical
OSVDB: 10252 - man-db test_for_include Function .so Argument Local Overflow
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 07/31/2003 11:26Updated: 11/16/2024 12:49
Changes: 07/31/2003 11:26 (79), 06/26/2019 10:13 (4), 11/16/2024 12:49 (21)
Complete: 🔍
Cache ID: 216:BC6:103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.