CVE-2004-0815 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 sh...
HighCVSS 7.5
EPSS 4.9%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- Debian
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/samba(Debian 12) | < 3.0.6-1 | 3.0.6-1 | Fixed |
| debian/samba(Debian 13) | < 3.0.6-1 | 3.0.6-1 | Fixed |
| debian/samba(Debian 14) | < 3.0.6-1 | 3.0.6-1 | Fixed |
| samba | = 2.2.0; = 2.2.0a; = 2.2.1a; = 2.2.2 +16 more | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| samba | = 2.2.0 | No fix listed |
| samba | = 2.2.0a | No fix listed |
| samba | = 2.2.1a | No fix listed |
| samba | = 2.2.2 | No fix listed |
| samba | = 2.2.3 | No fix listed |
| samba | = 2.2.3a | No fix listed |
| samba | = 2.2.4 | No fix listed |
| samba | = 2.2.5 | No fix listed |
| samba | = 2.2.6 | No fix listed |
| samba | = 2.2.7 | No fix listed |
| samba | = 2.2.7a | No fix listed |
| samba | = 2.2.8 | No fix listed |
| samba | = 2.2.8a | No fix listed |
| samba | = 2.2.9 | No fix listed |
| samba | = 2.2.11 | No fix listed |
| samba | = 2.2a | No fix listed |
| samba | = 3.0.0 | No fix listed |
| samba | = 3.0.1 | No fix listed |
| samba | = 3.0.2 | No fix listed |
| samba | = 3.0.2a | No fix listed |
| debian/samba(Debian:12) | < 3.0.6-1 | 3.0.6-1 |
| debian/samba(Debian:13) | < 3.0.6-1 | 3.0.6-1 |
| debian/samba(Debian:14) | < 3.0.6-1 | 3.0.6-1 |
References
- CLA-2004:873 patch vendor-advisory
- 20040930 Samba Security Announcement -- Potential Arbitrary File Access mailing-list
- 101584 vendor-advisory
- 57664 vendor-advisory
- 200529 vendor-advisory
- us4.samba.org
- DSA-600 patch vendor-advisory
- 20040930 Samba Arbitrary File Access Vulnerability exploit third-party-advisory vendor-advisory
- MDKSA-2004:104 vendor-advisory
- SUSE-SA:2004:035 vendor-advisory
- RHSA-2004:498 vendor-advisory
- 20041005 ERRATA: Potential Arbitrary File Access (CAN-2004-0815) mailing-list
- 11281 patch vdb-entry vendor-advisory
- 2004-0051 vendor-advisory
- FLSA:2102 vendor-advisory
- samba-file-access(17556) vdb-entry
- Debian Security Tracker CVE-2004-0815 vendor-advisory
- bugs.debian.org issue-tracking