First published: Wed May 05 2021(Updated: )
Multiple path traversal vulnerabilities exist in smbserver.py in Impacket before 0.9.23. 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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
pip/impacket | <0.9.23 | 0.9.23 |
SecureAuth Impacket | <=0.9.22 | |
Fedora | =32 | |
Fedora | =33 | |
Fedora | =34 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-31800 is classified as a high-severity vulnerability due to its potential for arbitrary code execution.
To mitigate CVE-2021-31800, upgrade Impacket to version 0.9.23 or later.
CVE-2021-31800 affects Impacket versions prior to 0.9.23 as well as Fedora versions 32, 33, and 34.
Yes, CVE-2021-31800 can allow remote attackers to access and manipulate files on the server.
The vulnerability exists in the smbserver.py component of Impacket.