{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-38557","published":"2021-08-24T13:15:14.513000Z","last_modified":"2026-06-17T04:02:21.450000Z","status":"Modified","cvss":{"version":"3.1","score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-732"],"cpes":[{"criteria":"cpe:2.3:a:raspap:raspap:2.6.6:*:*:*:*:*:*:*","part":"a","vendor":"raspap","product":"raspap","version":"2.6.6"}],"cpes_truncated":false,"vendors":["raspap"],"products":["raspap/raspap"],"epss":{"score":0.02224,"percentile":0.83432,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-536p-4pcj-5mr9","ecosystem":"Packagist","name":"billz/raspap-webgui","purl":"pkg:composer/billz/raspap-webgui","ranges":[{"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"],"versions_truncated":false}],"severity":"high","priority_score":53,"links":{"html_es":"/es/cve/CVE-2021-38557/","html_en":"/en/cve/CVE-2021-38557/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-38557","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-38557"},"untrusted":{"vendor_name":"Raspap","product_name":"Raspap","desc_en":"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.","affected":[],"references":[{"url":"https://github.com/RaspAP/raspap-webgui","tags":["Product"]},{"url":"https://github.com/RaspAP/raspap-webgui/blob/fabc48c7daae4013b9888f266332e510b196a062/installers/raspap.sudoers","tags":["Third Party Advisory"]},{"url":"https://zerosecuritypenetrationtesting.com/?page_id=306","tags":["Exploit","Third Party Advisory","URL Repurposed"]}]}}