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, 83.0th percentile (scored ); unchanged over 30 days. About EPSS.
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)