CVE-2021-38557

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-38557
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38557.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-38557
Aliases
Published
2021-08-24T13:15:14Z
Modified
2025-02-09T01:47:35.063614Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/raspap/raspap-webgui

Affected ranges

Type
GIT
Repo
https://github.com/raspap/raspap-webgui
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

1.*

1.3.1
1.4.0
1.4.1
1.5
1.5.1
1.6
1.6.1
1.6.2

2.*

2.0
2.1
2.2
2.3
2.3.1
2.4
2.4-beta
2.4.1
2.5
2.5.1
2.5.2
2.6
2.6-beta
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.6.6

v1.*

v1.0
v1.1
v1.2.0
v1.2.1
v1.3.0