CVE-2021-38557
HIGH 8.8CVSS 3.1raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions.
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
- 24 Aug 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-276CWE-732
- Also known as
- GHSA-536p-4pcj-5mr9
- Sources
- NVDJSONOSV GHSA-536p-4pcj-5mr9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | raspap | raspapcpe:2.3:a:raspap:raspap:2.6.6:*:*:*:*:*:*:* |
= 2.6.6 | |
| OSV | Packagist | billz/raspap-webgui | <= 2.6.6 |
References
- https://github.com/RaspAP/raspap-webgui · Product, PACKAGE
- https://github.com/RaspAP/raspap-webgui/blob/fabc48c7daae4013b9888f266332e510b196a062/installers/raspap.sudoers · Third Party Advisory, WEB
- https://zerosecuritypenetrationtesting.com/?page_id=306 · Exploit, Third Party Advisory, URL Repurposed, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-38557 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 24 Aug 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 2 Sep 2021)