| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 0.00 |
Summary
A vulnerability marked as problematic has been reported in NetBSD up to 2.0.2. Affected by this vulnerability is an unknown functionality of the file /tmp of the component imake. The manipulation leads to heap-based overflow. This vulnerability is traded as CVE-2004-0396. Access to the local network is required for this attack to succeed. Furthermore, there is an exploit available. It is suggested to upgrade the affected component.
Details
A vulnerability was found in NetBSD up to 2.0.2 (Operating System) and classified as problematic. This issue affects an unknown code of the file /tmp of the component imake. The manipulation with an unknown input leads to a heap-based overflow vulnerability. Using CWE to declare the problem leads to CWE-122. A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc(). Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Heap-based buffer overflow in CVS 1.11.x up to 1.11.15, and 1.12.x up to 1.12.7, when using the pserver mechanism allows remote attackers to execute arbitrary code via Entry lines.
The bug was discovered 05/19/2004. The weakness was shared 11/02/2005 by Stefan Esser (Matt) with NetBSD Team (Website). It is possible to read the advisory at ftp.netbsd.org. The identification of this vulnerability is CVE-2004-0396 since 04/13/2004. The attack needs to be initiated within the local network. 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 and been published even before and not after the advisory. The exploit is available at packetstormsecurity.nl. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 14147 (Mandrake Linux Security Advisory : cvs (MDKSA-2004:048)), 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. The commercial vulnerability scanner Qualys is able to test this issue with plugin 38273 (CVS Malformed Entry Modified and Unchanged Flag Insertion Heap Overflow Vulnerability).
Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at netbsd.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published even before and not after the disclosure of the vulnerability. Attack attempts may be identified with Snort ID 13614.
The vulnerability is also documented in the databases at X-Force (16193), Exploit-DB (300), Tenable (14147), SecurityFocus (BID 10384†) and OSVDB (6305†). The entries VDB-666, VDB-1860, VDB-1858 and VDB-28009 are related to this item. Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
Product
Type
Name
Version
License
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: Heap-based overflowCWE: CWE-122 / 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 14147
Nessus Name: Mandrake Linux Security Advisory : cvs (MDKSA-2004:048)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍
OpenVAS ID: 100289
OpenVAS Name: CVS Malformed Entry Modified and Unchanged Flag Insertion Heap Overflow Vulnerability
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Patch: netbsd.org
Snort ID: 13614
Timeline
04/13/2004 🔍05/19/2004 🔍
05/19/2004 🔍
05/19/2004 🔍
05/19/2004 🔍
05/21/2004 🔍
06/14/2004 🔍
07/31/2004 🔍
11/02/2005 🔍
11/07/2005 🔍
07/12/2025 🔍
Sources
Advisory: ftp.netbsd.orgResearcher: Stefan Esser (Matt)
Organization: NetBSD Team
Status: Confirmed
CVE: CVE-2004-0396 (🔍)
GCVE (CVE): GCVE-0-2004-0396
GCVE (VulDB): GCVE-100-1859
OVAL: 🔍
CERT: 🔍
X-Force: 16193
SecurityFocus: 10384 - CVS Malformed Entry Modified and Unchanged Flag Insertion Heap Overflow Vulnerability
Secunia: 17389 - NetBSD Update Fixes Multiple Vulnerabilities, Highly Critical
OSVDB: 6305 - CVS pserver Line Entry Handling Remote Overflow
Vulnerability Center: 4332
scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍
Entry
Created: 11/07/2005 10:26Updated: 07/12/2025 23:07
Changes: 11/07/2005 10:26 (91), 07/05/2019 09:22 (3), 06/08/2024 21:15 (16), 07/01/2024 19:51 (1), 12/16/2024 03:03 (4), 07/12/2025 23:07 (2)
Complete: 🔍
Cache ID: 216:C3F:103
Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.