{"id":"GHSA-536p-4pcj-5mr9","aliases":["CVE-2021-38557"],"title":"raspap-webgui in RaspAP 2.6.6 allows attackers to execute commands as root because of the insecure sudoers permissions.","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","description":"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.","severity":"high","score":8.8,"published":"2021-09-02T17:10:52.000Z","modified":"2026-09-10T03:49:27.233Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"billz/raspap-webgui","sources":[{"name":"OSV · GHSA-536p-4pcj-5mr9","url":"https://osv.dev/vulnerability/GHSA-536p-4pcj-5mr9"}],"ranges":[{"events":[{"introduced":"0"},{"last_affected":"2.6.6"}],"type":"ECOSYSTEM"}],"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"],"fixed":[]}],"sourceAffected":[],"references":["https://nvd.nist.gov/vuln/detail/CVE-2021-38557","https://github.com/RaspAP/raspap-webgui","https://github.com/RaspAP/raspap-webgui/blob/fabc48c7daae4013b9888f266332e510b196a062/installers/raspap.sudoers","https://zerosecuritypenetrationtesting.com/?page_id=306"],"sources":[{"name":"OSV","id":"GHSA-536p-4pcj-5mr9","modified":"2026-09-10T03:49:27.233461066Z","url":"https://osv.dev/vulnerability/GHSA-536p-4pcj-5mr9"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8}],"products":[],"remediation":[],"kev":{"status":"not-listed","checkedAt":"2026-10-28T19:15:31.108Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}