7.5
HIGH CVSS 2.0
CVE-2004-0815
Samba Path Truncation Remote File Access Vulnerability
Description

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.

INFO

Published Date :

Nov. 3, 2004, 5 a.m.

Last Modified :

April 3, 2025, 1:03 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2004-0815 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Samba samba
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
Solution
This vulnerability allows remote attackers to bypass share restrictions by using a specific sequence in pathnames; updating Samba will address this issue.
  • Update the Samba packages.
  • Upgrade to Samba 2.2.12, 3.0.7, or later.
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2004-0815.

URL Resource
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000873 Patch Vendor Advisory
http://marc.info/?l=bugtraq&m=109655827913457&w=2
http://sunsolve.sun.com/search/document.do?assetkey=1-26-101584-1
http://sunsolve.sun.com/search/document.do?assetkey=1-26-57664-1
http://sunsolve.sun.com/search/document.do?assetkey=1-66-200529-1
http://us4.samba.org/samba/news/#security_2.2.12
http://www.debian.org/security/2004/dsa-600 Patch Vendor Advisory
http://www.idefense.com/application/poi/display?id=146&type=vulnerabilities&flashstatus=true Exploit Vendor Advisory
http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:104
http://www.novell.com/linux/security/advisories/2004_35_samba.html
http://www.redhat.com/support/errata/RHSA-2004-498.html
http://www.securityfocus.com/archive/1/377618
http://www.securityfocus.com/bid/11281 Patch Vendor Advisory
http://www.trustix.org/errata/2004/0051/
https://bugzilla.fedora.us/show_bug.cgi?id=2102
https://exchange.xforce.ibmcloud.com/vulnerabilities/17556
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000873 Patch Vendor Advisory
http://marc.info/?l=bugtraq&m=109655827913457&w=2
http://sunsolve.sun.com/search/document.do?assetkey=1-26-101584-1
http://sunsolve.sun.com/search/document.do?assetkey=1-26-57664-1
http://sunsolve.sun.com/search/document.do?assetkey=1-66-200529-1
http://us4.samba.org/samba/news/#security_2.2.12
http://www.debian.org/security/2004/dsa-600 Patch Vendor Advisory
http://www.idefense.com/application/poi/display?id=146&type=vulnerabilities&flashstatus=true Exploit Vendor Advisory
http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:104
http://www.novell.com/linux/security/advisories/2004_35_samba.html
http://www.redhat.com/support/errata/RHSA-2004-498.html
http://www.securityfocus.com/archive/1/377618
http://www.securityfocus.com/bid/11281 Patch Vendor Advisory
http://www.trustix.org/errata/2004/0051/
https://bugzilla.fedora.us/show_bug.cgi?id=2102
https://exchange.xforce.ibmcloud.com/vulnerabilities/17556
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2004-0815 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2004-0815 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2004-0815 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2004-0815 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 20, 2024

    Action Type Old Value New Value
    Added Reference http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000873
    Added Reference http://marc.info/?l=bugtraq&m=109655827913457&w=2
    Added Reference http://sunsolve.sun.com/search/document.do?assetkey=1-26-101584-1
    Added Reference http://sunsolve.sun.com/search/document.do?assetkey=1-26-57664-1
    Added Reference http://sunsolve.sun.com/search/document.do?assetkey=1-66-200529-1
    Added Reference http://us4.samba.org/samba/news/#security_2.2.12
    Added Reference http://www.debian.org/security/2004/dsa-600
    Added Reference http://www.idefense.com/application/poi/display?id=146&type=vulnerabilities&flashstatus=true
    Added Reference http://www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:104
    Added Reference http://www.novell.com/linux/security/advisories/2004_35_samba.html
    Added Reference http://www.redhat.com/support/errata/RHSA-2004-498.html
    Added Reference http://www.securityfocus.com/archive/1/377618
    Added Reference http://www.securityfocus.com/bid/11281
    Added Reference http://www.trustix.org/errata/2004/0051/
    Added Reference https://bugzilla.fedora.us/show_bug.cgi?id=2102
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/17556
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:samba:samba:3.0:*:*:*:*:*:*:* OR *cpe:2.3:a:samba:samba:3.0.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jul. 11, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/17556 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/17556 [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 18, 2016

    Action Type Old Value New Value
    Removed Reference http://marc.theaimsgroup.com/?l=bugtraq&m=109655827913457&w=2
    Added Reference http://marc.info/?l=bugtraq&m=109655827913457&w=2
  • Initial Analysis by [email protected]

    Jan. 01, 2004

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

8.22 }} -1.79%

score

0.91404

percentile