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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- Samba 2.0.x - Insecure TMP File Symbolic Link EDB-20776 · local · Apr 17, 2001 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20010418 TSLSA-#2001-0005 - samba mailing-list
- 20010418 PROGENY-SA-2001-05: Samba /tmp vulnerabilities mailing-list
- CLA-2001:395 vendor-advisory
- CSSA-2001-015.0 vendor-advisory
- 20010417 Samba 2.0.8 security fix mailing-list
- VU#670568 third-party-advisory
- 2617 vdb-entry
- MDKSA-2001:040 vendor-advisory
- DSA-048 vendor-advisory
- FreeBSD-SA-01:36 vendor-advisory