Vulnerability in Raspap
CVE-2021-38557
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.
EPSS: 0.022 (80.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Raspap — versions 2.6.6
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Product, x_refsource_MISC)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (URL Repurposed, Exploit, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2021-38557?
- CVE-2021-38557 is a high-severity vulnerability in Raspap, classified under Incorrect Permission Assignment for Critical Resource. CVSS score: 8.8/10. Published 2021-08-24.
- How severe is CVE-2021-38557?
- High severity. CVSS v3 base score is 8.8 out of 10.