{"id":"CVE-2022-39987","aliases":["CVE-2022-39987","GHSA-7r88-wjhj-jr8m"],"related":[],"kind":"vulnerability","state":"published","title":"RaspAP Command Injection vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Vulnerabilidad de inyección de comandos en RaspAP que afecta desde la versión 2.8.0 hasta la 2.9.2, la cual permite a un atacante autenticado ejecutar comandos arbitrarios del sistema operativo como root a través de los parámetros POST \"entity\" en /ajax/networking/get_wgkey.php.","source":"nvd"}],"published":"2023-08-01T00:00:00.000Z","modified":"2026-06-17T04:58:36.717Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.8.0","status":"affected","fixed":"2.9.5"}],"ecosystem":"Packagist","package":"billz/raspap-webgui","purl":"pkg:composer/billz/raspap-webgui","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.8.0","lastAffected":"2.9.2"}],"vendor":"raspap","product":"raspap","cpe":"cpe:2.3:a:raspap:raspap:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/RaspAP/raspap-webgui/blob/master/ajax/networking/get_wgkey.php","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39987","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/RaspAP/raspap-webgui/pull/1395","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/RaspAP/raspap-webgui/commit/e87e7d1d3a61617430851f2a040379de1ff3dd9d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/RaspAP/raspap-webgui","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/RaspAP/raspap-webgui/releases/tag/2.9.5","tags":["web"],"sources":["ghsa"]},{"url":"https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-10-21T13:51:39.940Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-39987","url":"https://www.cve.org/CVERecord?id=CVE-2022-39987","licence":"CVE Terms of Use","modified":"2024-10-21T13:51:48.803Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7r88-wjhj-jr8m","url":"https://github.com/advisories/GHSA-7r88-wjhj-jr8m","licence":"CC-BY-4.0","modified":"2024-02-16T08:24:37.173Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-39987","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39987","licence":"Public domain","modified":"2026-06-17T04:58:36.717Z"}],"updatedAt":"2026-11-25T22:58:19.497Z","epss":{"score":0.37336,"percentile":0.98558,"date":"2026-12-01T12:00:22.000Z"}}