Skip to main content
← All vulnerabilities
CVE-2021-31800GHSA-MJ63-64X7-57XFPYSEC-2021-17

Multiple path traversal vulnerabilities exist in smbserver.py in Impacket through 0.9.22.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.9.23
2 proofs of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • impacketPyPI

    fixed in 0.9.23

  • impacketPyPI

    From 0.9.10 · fixed in 0.9.23

References 11

GitHub · SecureAuthCorp/impacket

lists.fedoraproject.org

GitHub · Louzogh/CVE-2021-31800

GitHub · p0dalirius/CVE-2021-31800-Impacket-SMB-Server-Arbitrary-file-read-write