CVE-2021-38557

Source
https://cve.org/CVERecord?id=CVE-2021-38557
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38557.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-38557
Aliases
Published
2021-08-24T13:15:14.513Z
Modified
2026-07-08T22:13:59.373771Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/raspap/raspap-webgui

Affected ranges

Type
GIT
Repo
https://github.com/raspap/raspap-webgui
Events
Database specific
{
    "source": "CPE_STRING",
    "cpe": "cpe:2.3:a:raspap:raspap:2.6.6:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "2.6.6"
        },
        {
            "last_affected": "2.6.6"
        }
    ]
}

Affected versions

2.*
2.6.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38557.json"