{"id":"CVE-2022-39987","details":"A Command injection vulnerability in RaspAP 2.8.0 thru 2.9.2 allows an authenticated attacker to execute arbitrary OS commands as root via the \"entity\" POST parameters in /ajax/networking/get_wgkey.php.","aliases":["GHSA-7r88-wjhj-jr8m"],"modified":"2026-08-12T03:51:29.132055640Z","published":"2023-08-01T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39987.json","cna_assigner":"mitre"},"references":[{"type":"WEB","url":"https://github.com/RaspAP/raspap-webgui/blob/master/ajax/networking/get_wgkey.php"},{"type":"WEB","url":"https://medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39987.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39987"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/raspap/raspap-webgui","events":[{"introduced":"60d151b9762389ac2597f6e6ad9b4901141e3400"},{"last_affected":"c971c5c9bcd8c41814fe95202393b2a63f37f766"}],"database_specific":{"cpe":"cpe:2.3:a:raspap:raspap:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.8.0"},{"last_affected":"2.9.2"}],"source":"CPE_RANGE"}}],"versions":["2.9.2","2.9.1","2.9.0","2.8.9","2.8.8","2.8.7","2.8.6","2.8.5","2.8.3","2.8.2","2.8.1","2.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-39987.json"}}],"schema_version":"1.9.0"}