CVEvulnerability
CVE-2021-38557
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-08-24
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 9.0 HIGH — AV:N/AC:L/Au:S/C:C/I:C/A:C
- Weaknesses
- CWE-732
Description
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 configurations
• raspap raspap 2.6.6
Related
Weakness · CWE (1)
- CWE-732 Incorrect Permission Assignment for Critical Resource weakness
References
- https://github.com/RaspAP/raspap-webgui Product
- https://github.com/RaspAP/raspap-webgui/blob/fabc48c7daae4013b9888f266332e510b196a062/installers/raspap.sudoers Third Party Advisory
- https://zerosecuritypenetrationtesting.com/?page_id=306 Exploit, Third Party Advisory, URL Repurposed
- https://github.com/RaspAP/raspap-webgui Product
- https://github.com/RaspAP/raspap-webgui/blob/fabc48c7daae4013b9888f266332e510b196a062/installers/raspap.sudoers Third Party Advisory
- https://zerosecuritypenetrationtesting.com/?page_id=306 Exploit, Third Party Advisory, URL Repurposed