{"id":"CVE-2021-38557","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.","aliases":["GHSA-536p-4pcj-5mr9"],"modified":"2026-08-07T16:57:30.541998Z","published":"2021-08-24T13:15:14.513Z","references":[{"type":"ADVISORY","url":"https://github.com/RaspAP/raspap-webgui/blob/fabc48c7daae4013b9888f266332e510b196a062/installers/raspap.sudoers"},{"type":"PACKAGE","url":"https://github.com/RaspAP/raspap-webgui"},{"type":"EVIDENCE","url":"https://zerosecuritypenetrationtesting.com/?page_id=306"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/raspap/raspap-webgui","events":[{"introduced":"04fc73326bdbafe02b0312eb09097cb5eb5277de"},{"last_affected":"04fc73326bdbafe02b0312eb09097cb5eb5277de"}],"database_specific":{"cpe":"cpe:2.3:a:raspap:raspap:2.6.6:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.6.6"},{"last_affected":"2.6.6"}],"source":"CPE_STRING"}}],"versions":["2.6.6"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38557.json"}}],"schema_version":"1.8.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}