Vulnerability Details : 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.
Products affected by CVE-2021-38557
- cpe:2.3:a:raspap:raspap:2.6.6:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-38557
0.62%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 79 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-38557
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.0
|
HIGH | AV:N/AC:L/Au:S/C:C/I:C/A:C |
8.0
|
10.0
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST |
CWE ids for CVE-2021-38557
-
The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-38557
-
https://zerosecuritypenetrationtesting.com/?page_id=306
0days - Zero Security Penetration TestingExploit;Third Party Advisory
-
https://github.com/RaspAP/raspap-webgui
GitHub - RaspAP/raspap-webgui: Simple wireless AP setup & management for Debian-based devicesProduct
-
https://github.com/RaspAP/raspap-webgui/blob/fabc48c7daae4013b9888f266332e510b196a062/installers/raspap.sudoers
raspap-webgui/raspap.sudoers at fabc48c7daae4013b9888f266332e510b196a062 · RaspAP/raspap-webgui · GitHubThird Party Advisory
Jump to