Samba up to 2.2.6 DOS Codepage String 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.
9.5$0-$5k0.00

Summaryinfo

A vulnerability classified as critical has been found in Samba 2.2.2/2.2.3/2.2.4/2.2.5/2.2.6. Affected by this issue is some unknown functionality of the component DOS Codepage String Handler. This manipulation causes memory corruption. This vulnerability is tracked as CVE-2002-1318. No exploit exists. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability classified as very critical was found in Samba 2.2.2/2.2.3/2.2.4/2.2.5/2.2.6 (File Transfer Software). Affected by this vulnerability is some unknown processing of the component DOS Codepage String Handler. 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. The summary by CVE is:

Buffer overflow in samba 2.2.2 through 2.2.6 allows remote attackers to cause a denial of service and possibly execute arbitrary code via an encrypted password that causes the overflow during decryption in which a DOS codepage string is converted to a little-endian UCS2 unicode string.

The weakness was disclosed 12/11/2002 as confirmed advisory (CERT.org). It is possible to read the advisory at kb.cert.org. This vulnerability is known as CVE-2002-1318. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. The technical details are unknown and an exploit is not publicly available. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 09/06/2025).

It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 13979 (Mandrake Linux Security Advisory : samba (MDKSA-2002:081)), 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 70044 (Sun Solaris Samba Server Security Vulnerability).

Upgrading eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (10683), Tenable (13979), SecurityFocus (BID 6210†) and Vulnerability Center (SBV-1530†). Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 9.5

VulDB Base Score: 10.0
VulDB Temp Score: 9.5
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: 🔍
Status: Highly functional

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 13979
Nessus Name: Mandrake Linux Security Advisory : samba (MDKSA-2002:081)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 53854
OpenVAS Name: Debian Security Advisory DSA 200-1 (samba)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

MetaSploit ID: nttrans.rb
MetaSploit Name: Samba 2.2.2 - 2.2.6 nttrans Buffer Overflow
MetaSploit File: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Timelineinfo

11/20/2002 🔍
11/25/2002 +5 days 🔍
12/11/2002 +16 days 🔍
12/11/2002 +0 days 🔍
12/11/2002 +0 days 🔍
07/29/2003 +230 days 🔍
07/31/2004 +368 days 🔍
07/31/2014 +3652 days 🔍
09/06/2025 +4055 days 🔍

Sourcesinfo

Product: samba.org

Advisory: kb.cert.org
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2002-1318 (🔍)
GCVE (CVE): GCVE-0-2002-1318
GCVE (VulDB): GCVE-100-19207

OVAL: 🔍

CERT: 🔍
X-Force: 10683
SecurityFocus: 6210 - Samba Server Encrypted Password Buffer Overrun Vulnerability
Vulnerability Center: 1530 - Buffer Overflow in Samba Encrypted Password Change Routine Allows Arbitrary Code Execution, High

Entryinfo

Created: 07/31/2014 16:56
Updated: 09/06/2025 23:41
Changes: 07/31/2014 16:56 (74), 05/10/2019 22:49 (2), 12/26/2024 05:40 (16), 04/23/2025 05:08 (2), 09/06/2025 23:41 (2)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!