PYSEC-2021-17

    Dashboard / Vulnerabilities / PYSEC-2021-17

    PYSEC-2021-17

    Published: 5 May 2021Last Modified: 8 Nov 2023

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: impacket

    Purl: pkg:pypi/impacket

    Affected ranges

    Type: GIT

    Events:

    Affected versions

    0.9.10
    0.9.11
    0.9.12
    0.9.13
    0.9.14
    0.9.15
    0.9.17
    0.9.18
    0.9.19
    0.9.20
    0.9.21
    0.9.22

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    PYSEC-2021-17 | CVE-DB