Samba/Samba-TNG up to A.01.09.01 CIFS Packet 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.
6.6$0-$5k0.00

Summaryinfo

A vulnerability has been found in Samba and Samba-TNG and classified as very critical. The affected element is an unknown function of the component CIFS Packet Handler. The manipulation leads to memory corruption. This vulnerability is uniquely identified as CVE-2003-0085. The attack is possible to be carried out remotely. Moreover, an exploit is present. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in Samba and Samba-TNG (File Transfer Software). It has been rated as very critical. This issue affects an unknown part of the component CIFS Packet 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 the SMB/CIFS packet fragment re-assembly code for SMB daemon (smbd) in Samba before 2.2.8, and Samba-TNG before 0.3.1, allows remote attackers to execute arbitrary code.

The weakness was disclosed 03/15/2003 by Sebastian Krahmer with SuSE.de (Website). The advisory is shared at de.samba.org. The identification of this vulnerability is CVE-2003-0085 since 02/10/2003. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are unknown but a public exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 01/19/2025).

The exploit is available at exploit-db.com. It is declared as proof-of-concept. We expect the 0-day to have been worth approximately $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 15099 (Debian DSA-262-1 : samba - remote exploit), 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 r. The analysis with Nessus happens with this NASL code:

if (deb_check(release:"3.0", prefix:"libpam-smbpass", reference:"2.2.3a-12.1")) flag++;
if (deb_check(release:"3.0", prefix:"libsmbclient", reference:"2.2.3a-12.1")) flag++;
if (deb_check(release:"3.0", prefix:"libsmbclient-dev", reference:"2.2.3a-12.1")) flag++;
if (deb_check(release:"3.0", prefix:"samba", reference:"2.2.3a-12.1")) flag++;
if (deb_check(release:"3.0", prefix:"samba-common", reference:"2.2.3a-12.1")) flag++;
if (deb_check(release:"3.0", prefix:"samba-doc", reference:"2.2.3a-12.1")) flag++;
if (deb_check(release:"3.0", prefix:"smbclient", reference:"2.2.3a-12.1")) flag++;
if (deb_check(release:"3.0", prefix:"smbfs", reference:"2.2.3a-12.1")) flag++;
if (deb_check(release:"3.0", prefix:"swat", reference:"2.2.3a-12.1")) flag++;
if (deb_check(release:"3.0", prefix:"winbind", reference:"2.2.3a-12.1")) flag++;

if (flag)
{
  if (report_verbosity > 0) security_hole(port:0, extra:deb_report_get());
  else security_hole(0);
  exit(0);
}
The commercial vulnerability scanner Qualys is able to test this issue with plugin 70043 (Sun Solaris Samba Server Buffer Overflow Vulnerabilities).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at download.samba.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability. Attack attempts may be identified with Snort ID 6713. In this case the pattern |11| is used for detection.

The vulnerability is also documented in the databases at Exploit-DB (16321), Tenable (15099), SecurityFocus (BID 7106†), OSVDB (6323†) and Secunia (SA8303†). The entries VDB-18 and VDB-126 are pretty similar. Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
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: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 15099
Nessus Name: Debian DSA-262-1 : samba - remote exploit
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

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

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: download.samba.org

Snort ID: 6713
Snort Message: NETBIOS-DG SMB NT Trans Secondary unicode andx Param Count overflow attempt
Snort Pattern: 🔍

Timelineinfo

02/10/2003 🔍
03/15/2003 +33 days 🔍
03/15/2003 +0 days 🔍
03/15/2003 +0 days 🔍
03/15/2003 +0 days 🔍
03/31/2003 +16 days 🔍
05/22/2004 +418 days 🔍
09/29/2004 +129 days 🔍
01/19/2025 +7417 days 🔍

Sourcesinfo

Product: samba.org

Advisory: de.samba.org
Researcher: Sebastian Krahmer
Organization: SuSE.de
Status: Confirmed

CVE: CVE-2003-0085 (🔍)
GCVE (CVE): GCVE-0-2003-0085
GCVE (VulDB): GCVE-100-17

OVAL: 🔍

CERT: 🔍
SecurityFocus: 7106 - Samba SMB/CIFS Packet Assembling Buffer Overflow Vulnerability
Secunia: 8303 - Gentoo updates for samba, Moderately Critical
OSVDB: 6323
Vulnerability Center: 1319

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

Entryinfo

Created: 03/15/2003 01:00
Updated: 01/19/2025 03:05
Changes: 03/15/2003 01:00 (56), 06/04/2019 19:25 (28), 03/08/2021 07:20 (7), 03/08/2021 07:22 (1), 06/12/2024 18:41 (16), 12/08/2024 06:24 (4), 01/19/2025 03:05 (1)
Complete: 🔍
Cache ID: 216:685: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!