CVE-2001-0406

Samba < 2.0.7 - Arbitrary File Write via Symlink Attack

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2001-0406. PoCs published by Gabriel Maggiotti.

AI-analyzed exploit summary This exploit leverages a symbolic link vulnerability in Samba to overwrite system files, potentially leading to privilege escalation. It creates a malicious log file in /tmp and manipulates it to modify /etc/passwd.

Description

Samba before 2.2.0 allows local attackers to overwrite arbitrary files via a symlink attack using (1) a printer queue query, (2) the more command in smbclient, or (3) the mput command in smbclient.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Gabriel Maggiotti · clocallinux
https://www.exploit-db.com/exploits/20776

This exploit leverages a symbolic link vulnerability in Samba to overwrite system files, potentially leading to privilege escalation. It creates a malicious log file in /tmp and manipulates it to modify /etc/passwd.

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Trivial
Reliability
Reliable
Target: Samba (versions on RedHat 5.1 to 7.1)
No auth needed
Prerequisites: Local access to the vulnerable system · Samba service running with vulnerable configuration
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (10)

Core 10
Core References
Patch, Vendor Advisory mailing-list x_refsource_bugtraq
http://archives.neohapsis.com/archives/bugtraq/2001-04/0319.html
Patch, Vendor Advisory mailing-list x_refsource_bugtraq
http://archives.neohapsis.com/archives/bugtraq/2001-04/0326.html
Vendor Advisory vendor-advisory x_refsource_conectiva
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000395
Patch, Vendor Advisory vendor-advisory x_refsource_caldera
http://www.caldera.com/support/security/advisories/CSSA-2001-015.0.txt
Patch, Vendor Advisory mailing-list x_refsource_bugtraq
http://archives.neohapsis.com/archives/bugtraq/2001-04/0305.html
US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/670568
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/2617
Various Sources vendor-advisory x_refsource_mandrake
http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-040.php3
Patch, Vendor Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2001/dsa-048
Third Party Advisory vendor-advisory x_refsource_freebsd
http://archives.neohapsis.com/archives/freebsd/2001-04/0608.html

Scores

EPSS 0.0114
EPSS Percentile 62.5%

Details

Status published
Products (1)
samba/samba < 2.0.7
Published Jul 02, 2001
Tracked Since Feb 18, 2026