CVE-2021-38557
HIGH
Published Aug 24, 20214y ago · Modified Jun 17, 20262w ago
8.8 CVSS 3.1
Published Aug 24, 2021 4y ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-732
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| raspap | raspap | 2.6.6 | any |
References 3
- github.com https://github.com/RaspAP/raspap-webgui
- github.com https://github.com/RaspAP/raspap-webgui/blob/fabc48c7daae4013b9888f266332e510b196a062/installers/raspap.sudoers
- zerosecuritypenetrationtesting.com https://zerosecuritypenetrationtesting.com/?page_id=306
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.