Description
Directory traversal vulnerability in the %m macro in the smb.conf configuration file in Samba before 2.2.0a allows remote attackers to overwrite certain files via a .. in a NETBIOS name, which is used as the name for a .log file.
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/2.2 - Arbitrary File Creation EDB-20968 · remote · Jun 23, 2001 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- MDKSA-2001-062 vendor-advisory
- HPSBUX0107-157 vendor-advisory
- DSA-065 vendor-advisory
- 2928 vdb-entry
- http://us1.samba.org/samba/whatsnew/macroexploit.html
- CSSA-2001-024.0 vendor-advisory
- IMNX-2001-70-027-01 vendor-advisory
- RHSA-2001:086 vendor-advisory
- samba-netbios-file-creation(6731) vdb-entry
- 20010623 smbd remote file creation vulnerability mailing-list
- CLA-2001:405 vendor-advisory
- L-105 third-party-advisory government-resource