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 overwrite certain files…

published June 25, 2002

CVSS
—
EPSS
12%
Percentile
96.1
In the wild
Unconfirmed
What it is

⚠️ A sneaky directory traversal vulnerability in Samba lets remote attackers overwrite log files with just a crafted NETBIOS name! Think of it like a delivery person sneaking a package into the wrong address because they misread the label — instead of getting your new shoes, you end up with someone else's old boots! 📦 An attacker could exploit this vulnerability to overwrite critical log files, potentially hiding their tracks or causing confusion in system monitoring. This could lead to loss of important logging information, making it harder to diagnose issues or investigate unauthorized access.

Put simply

Think of it like a delivery person sneaking a package into the wrong address because they misread the label — instead of getting your new shoes, you end up with someone else's old boots! 📦 The vulnerability arises from the %m macro in the smb.conf configuration file, which does not properly sanitize input. By including a '..' in the NETBIOS name, an attacker can perform a directory traversal and overwrite specified files.

What to do

An attacker could exploit this vulnerability to overwrite critical log files, potentially hiding their tracks or causing confusion in system monitoring. This could lead to loss of important logging information, making it harder to diagnose issues or investigate unauthorized access. To mitigate this vulnerability, upgrade Samba to version 2.2.0a or later. Additionally, review configurations to ensure proper input validation is enforced. Regularly check logs for any unexpected changes and maintain backup copies of important files. You’ve got this! Take these steps, and you’ll keep your system safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.12032 · 96.1th percentile
Published
2002-06-25T04:00Z
EPSS history
Timeline
  • 25 JUN 04:00Z
    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…
    cvelistv5