CVE-2021-38557

    Dashboard / Vulnerabilities / CVE-2021-38557

    CVE-2021-38557

    Published: 24 Aug 2021Last Modified: 7 Aug 2026

    Summary:

    Details: raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions. The www-data account can execute /etc/raspap/hostapd/enablelog.sh as root with no password; however, the www-data account can also overwrite /etc/raspap/hostapd/enablelog.sh with any executable content.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 04fc73326bdbafe02b0312eb09097cb5eb5277de
    Fixed -None

    Affected versions

    2.6.6

    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
    CVE-2021-38557 | CVE-DB