Original 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.
Affected software
- Samba = 2.2.9= 2.2.1a= 3.0.2= 2.2.8a= 2.2.6= 2.2.2 exact match
Details
- Published
- 2004-11-03
- Last modified
- 2026-06-16
- CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P- EPSS (30-day exploit probability)
- 4.89% (percentile 92)
References
- cve.org/CVE-2004-0815
- nvd.nist.gov/vuln/detail/CVE-2004-0815
- distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000873
- marc.info/?l=bugtraq&m=109655827913457&w=2
- sunsolve.sun.com/search/document.do?assetkey=1-26-101584-1
- sunsolve.sun.com/search/document.do?assetkey=1-26-57664-1
- sunsolve.sun.com/search/document.do?assetkey=1-66-200529-1
- us4.samba.org/samba/news/#security_2.2.12
- www.debian.org/security/2004/dsa-600
- www.idefense.com/application/poi/display?id=146&type=vulnerabilities&flashstatus=true
- www.mandrakesecure.net/en/advisories/advisory.php?name=MDKSA-2004:104
- www.novell.com/linux/security/advisories/2004_35_samba.html
- www.redhat.com/support/errata/RHSA-2004-498.html
- www.securityfocus.com/archive/1/377618
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.