CVE-2001-1162 Path traversal in n/a

Critical 10.0 Published Updated

Remote attackers can overwrite files via directory traversal in Samba's log naming, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2001-1162?

CVE-2001-1162 is a critical path traversal vulnerability in Samba Samba, published on 25 Jun 2002. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Which versions are affected by CVE-2001-1162?

It affects 2 products.

Products include Hp Cifs-9000 Server, Samba Samba.

How do I fix CVE-2001-1162?

No fix has been published for CVE-2001-1162 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2001-1162 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2001-1162 exists.

Public exploit code: 1 Exploit-DB entry.

All Samba Samba vulnerabilities

Sources

Also known as GHSA-8wh4-jc8q-39g3.

Is CVE-2001-1162 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free