{"id":"CVE-2022-39987","aliases":["EUVD-2023-2235","GHSA-7r88-wjhj-jr8m"],"status":"published","title":"RaspAP Command Injection vulnerability","description":"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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.37336,"percentile":0.98539,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-77"],"published":"2023-08-01T00:00:00Z","modified":"2026-10-28T02:30:44Z","fixes":[{"ecosystem":"Packagist","package":"billz/raspap-webgui","fixed_in":["2.9.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"billz/raspap-webgui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.9.5"}]}]},{"source":"osv","ecosystem":"Packagist","package":"billz/raspap-webgui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.9.5"}]}],"versions":["2.8.0","2.8.1","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7","2.8.8","2.8.9","2.9.0","2.9.1","2.9.2","2.9.3","2.9.4"]}],"products":[{"vendor":"raspap","product":"raspap"}],"references":[{"url":"https://github.com/RaspAP/raspap-webgui/blob/master/ajax/networking/get_wgkey.php","tags":["x_transferred","Vendor Advisory","web"]},{"url":"https://medium.com/%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39987","tags":["advisory"]},{"url":"https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2","tags":["web"]},{"url":"https://github.com/RaspAP/raspap-webgui/pull/1395","tags":["web"]},{"url":"https://github.com/RaspAP/raspap-webgui/commit/e87e7d1d3a61617430851f2a040379de1ff3dd9d","tags":["web"]},{"url":"https://github.com/RaspAP/raspap-webgui/releases/tag/2.9.5","tags":["web"]},{"url":"https://github.com/advisories/GHSA-7r88-wjhj-jr8m"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39987.json","tags":["advisory"]},{"url":"https://github.com/RaspAP/raspap-webgui","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-39987","description":"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.","status":"published","published":"2023-08-01T00:00:00Z","modified":"2024-10-21T13:51:48.803Z","updated_at":"2026-11-02T14:34:39.559326Z"}],"euvd":[{"id":"EUVD-2023-2235","description":"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.","status":"published","published":"2023-08-01T00:00:00Z","modified":"2024-10-21T13:51:48Z","updated_at":"2026-11-03T00:27:32.038051Z"}],"ghsa":[{"id":"GHSA-7r88-wjhj-jr8m","title":"RaspAP Command Injection vulnerability","description":"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`.","status":"published","published":"2023-08-01T15:30:30Z","modified":"2023-11-27T22:29:49Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:37:22.840002Z"}],"nvd":[{"id":"CVE-2022-39987","description":"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.","status":"published","published":"2023-08-01T14:15:09.937Z","modified":"2026-06-17T04:58:36.717Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T14:07:38.721429Z"}],"osv":[{"id":"GHSA-7r88-wjhj-jr8m","title":"RaspAP Command Injection vulnerability","description":"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`.","status":"published","published":"2023-08-01T15:30:30Z","modified":"2024-02-16T08:24:37.173913Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:41.349637Z"},{"id":"CVE-2022-39987","description":"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.","status":"published","published":"2023-08-01T00:00:00Z","modified":"2026-10-28T02:30:44.783102326Z","updated_at":"2026-11-02T15:44:26.860704Z"}]}}
