{"id":"GHSA-536p-4pcj-5mr9","summary":"raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions.","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":["CVE-2021-38557"],"modified":"2026-09-10T03:49:27.233461066Z","published":"2021-09-02T17:10:52Z","database_specific":{"github_reviewed_at":"2021-08-25T19:43:55Z","nvd_published_at":"2021-08-24T13:15:00Z","cwe_ids":["CWE-276","CWE-732"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38557"},{"type":"PACKAGE","url":"https://github.com/RaspAP/raspap-webgui"},{"type":"WEB","url":"https://github.com/RaspAP/raspap-webgui/blob/fabc48c7daae4013b9888f266332e510b196a062/installers/raspap.sudoers"},{"type":"WEB","url":"https://zerosecuritypenetrationtesting.com/?page_id=306"}],"affected":[{"package":{"name":"billz/raspap-webgui","ecosystem":"Packagist","purl":"pkg:composer/billz/raspap-webgui"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.6.6"}]}],"versions":["1.0","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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-536p-4pcj-5mr9/GHSA-536p-4pcj-5mr9.json"}}],"schema_version":"1.9.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"}]}