GNU Samba up to 3.0.2a unix_clean_name privileges management

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.3$0-$5k0.00

Summaryinfo

A vulnerability was found in GNU Samba and classified as critical. Affected by this vulnerability is the function unix_clean_name. The manipulation results in privileges management. This vulnerability was named CVE-2004-0815. The attack may be performed from remote. In addition, an exploit is available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, was found in GNU Samba (File Transfer Software). Affected is the function unix_clean_name. The manipulation with an unknown input leads to a privileges management vulnerability. CWE is classifying the issue as CWE-269. The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

The unix_clean_name function in Samba 2.2.x through 2.2.11, and 3.0.x before 3.0.2a, trims certain directory names down to absolute paths, which could allow remote attackers to bypass the specified share restrictions and read, write, or list arbitrary files via "/.////" style sequences in pathnames.

The weakness was presented 09/30/2004 by Karol Wiesek with iDEFENSE (Website). The advisory is available at idefense.com. This vulnerability is traded as CVE-2004-0815 since 08/25/2004. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a exploit are known. This vulnerability is assigned to T1068 by the MITRE ATT&CK project.

After immediately, there has been an exploit disclosed. The exploit is shared for download at idefense.com. It is declared as proof-of-concept. As 0-day the estimated underground price was around $25k-$100k. The vulnerability scanner Nessus provides a plugin with the ID 15394 (Samba MS-DOS Path Request Arbitrary File Retrieval), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Misc. and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 70040 (Samba Remote Arbitrary File Access Vulnerability).

Upgrading eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at us4.samba.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published 1 weeks after the disclosure of the vulnerability. Attack attempts may be identified with Snort ID 15983. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 31565.

The vulnerability is also documented in the databases at X-Force (17556), Tenable (15394), SecurityFocus (BID 11281†), OSVDB (10464†) and Secunia (SA12696†). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.0
VulDB Meta Temp Score: 6.3

VulDB Base Score: 7.0
VulDB Temp Score: 6.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Privileges management
CWE: CWE-269 / CWE-266
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: 15394
Nessus Name: Samba MS-DOS Path Request Arbitrary File Retrieval
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

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

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Patch: us4.samba.org

Snort ID: 15983
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍

Timelineinfo

08/25/2004 🔍
09/30/2004 +36 days 🔍
09/30/2004 +0 days 🔍
09/30/2004 +0 days 🔍
09/30/2004 +0 days 🔍
09/30/2004 +0 days 🔍
09/30/2004 +0 days 🔍
10/01/2004 +1 days 🔍
10/01/2004 +0 days 🔍
10/04/2004 +2 days 🔍
10/05/2004 +1 days 🔍
10/07/2004 +2 days 🔍
11/03/2004 +27 days 🔍
07/07/2025 +7551 days 🔍

Sourcesinfo

Vendor: gnu.org

Advisory: idefense.com
Researcher: Karol Wiesek
Organization: iDEFENSE
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2004-0815 (🔍)
GCVE (CVE): GCVE-0-2004-0815
GCVE (VulDB): GCVE-100-858
X-Force: 17556 - Samba allows file access outside of the share`s defined path, Medium Risk
SecurityFocus: 11281 - Samba Remote Arbitrary File Access Vulnerability
Secunia: 12696 - Samba Arbitrary File Access Vulnerability, Less Critical
OSVDB: 10464 - Samba MS-DOS Path Request Arbitrary File Retrieval
SecurityTracker: 1011469
SecuriTeam: securiteam.com
Vulnerability Center: 5510 - Samba Server Allows File Access, Medium

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

Entryinfo

Created: 10/04/2004 10:33
Updated: 07/07/2025 17:54
Changes: 10/04/2004 10:33 (102), 06/29/2019 11:51 (9), 07/07/2025 17:54 (18)
Complete: 🔍
Cache ID: 216:90C:103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

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!