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.
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.022 (82.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 82nd percentile — 82.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.022 · newest: 0.022 · change: 0.000
Affected products
- Raspap — versions 2.6.6
Weakness classification (CWE)
References
- github.com/RaspAP/raspap-webgui (Product)
- github.com/RaspAP/raspap-webgui/blob/fabc48c7daae4013b9888f266332e510b196a062/i… (Third Party Advisory)
- zerosecuritypenetrationtesting.com/ (URL Repurposed, Exploit, Third Party Advisory)
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.