Path Traversal in Secureauth Impacket
CVE-2021-31800
Multiple path traversal vulnerabilities exist in smbserver.py in Impacket through 0.9.22. An attacker that connects to a running smbserver instance can list and write to arbitrary files via ../ directory traversal. This could potentially be abused to achieve arbitrary code execution by replacing /etc/shadow or an SSH authorized key.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.194 (97.3th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 97th percentile — 97.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.193 · newest: 0.194 · change: +0.001
Affected products
- Secureauth Impacket
- Fedoraproject Fedora — versions 32, 33, 34
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/SecureAuthCorp/impacket/releases (Third Party Advisory, Release Notes)
- github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec62… (Third Party Advisory)
- github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec62… (Third Party Advisory)
- github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec62… (Third Party Advisory)
- github.com/SecureAuthCorp/impacket/blob/cb6d43a677c338db930bc4e9161620832c1ec62… (Third Party Advisory)
- github.com/SecureAuthCorp/impacket/commit/49c643bf66620646884ed141c94e5fdd85bcd… (Patch, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2021-31800?
- CVE-2021-31800 is a critical-severity vulnerability in Secureauth Impacket, classified under Path Traversal. CVSS score: 9.8/10. Published 2021-05-05.
- How severe is CVE-2021-31800?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2021-31800 known to be exploited?
- 13 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.