CVE-2021-31800
CRITICALSecureauth Impacket < 0.9.22 - Path Traversal
Title source: ruleDescription
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.
Exploits (2)
nomisec
WORKING POC
10 stars
by p0dalirius · poc
https://github.com/p0dalirius/CVE-2021-31800-Impacket-SMB-Server-Arbitrary-file-read-write
References (9)
Scores
CVSS v3
9.8
EPSS
0.3980
EPSS Percentile
97.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-22
Status
published
Products (5)
fedoraproject/fedora
32
fedoraproject/fedora
33
fedoraproject/fedora
34
pypi/impacket
0 - 0.9.23PyPI
secureauth/impacket
< 0.9.22
Published
May 05, 2021
Tracked Since
Feb 18, 2026