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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:raspap:raspap:2.6.6:*:*:*:*:*:*:*

History

14 Feb 2024, 01:17

Type Values Removed Values Added
References (MISC) https://zerosecuritypenetrationtesting.com/?page_id=306 - Exploit, Third Party Advisory (MISC) https://zerosecuritypenetrationtesting.com/?page_id=306 - Exploit, Third Party Advisory, URL Repurposed

Information

Published : 2021-08-24 13:15

Updated : 2024-02-28 18:28


NVD link : CVE-2021-38557

Mitre link : CVE-2021-38557

CVE.ORG link : CVE-2021-38557


JSON object : View

Products Affected

raspap

  • raspap
CWE
CWE-732

Incorrect Permission Assignment for Critical Resource