All vulnerabilities

Servers and applications

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 share restrictions and read, write, or list arbitrary files via "/.////" style sequences in pathnames.

Severity
High 7.5
Published
3 Nov 2004
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
4.9% in the next 30 daysHigher than 92% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · No login needed
Attacker can
Read some data · Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
SambaServers and applications · cpe:a:samba:samba
  • Version 3.0.2a
  • Version 3.0.2
  • Version 3.0.1
  • Version 3.0.0
All 20 release lines
  • Version 2.2.0
  • Version 2.2.0a
  • Version 2.2a
  • Version 2.2.1a
  • Version 2.2.2
  • Version 2.2.3
  • Version 2.2.3a
  • Version 2.2.4
  • Version 2.2.5
  • Version 2.2.6
  • Version 2.2.7
  • Version 2.2.7a
  • Version 2.2.8
  • Version 2.2.8a
  • Version 2.2.9
  • Version 2.2.11
  • Version 3.0.0
  • Version 3.0.1
  • Version 3.0.2
  • Version 3.0.2a

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2004-0815
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2004-0815