CVE-2021-38557Raspap
High 8.8
Follow: this CVE · Raspap · Raspap We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 2.2% probability of exploitation in 30 days · percentile 83
- Auth required
- Yes
- Published
- Aug 24, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-732
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Raspap.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | billz/raspap-webgui |
≤ 2.6.6 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-536p-4pcj-5mr9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| raspap | raspap | 2.6.6 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Third Party Advisory
- zerosecuritypenetrationtesting.com Exploit Third Party Advisory URL Repurposed