{"id":"GHSA-7r88-wjhj-jr8m","summary":"RaspAP Command Injection vulnerability","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":["CVE-2022-39987"],"modified":"2024-02-16T08:24:37.173913Z","published":"2023-08-01T15:30:30Z","database_specific":{"github_reviewed":true,"nvd_published_at":"2023-08-01T14:15:09Z","severity":"HIGH","cwe_ids":["CWE-77"],"github_reviewed_at":"2023-08-01T19:57:55Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-39987"},{"type":"WEB","url":"https://github.com/RaspAP/raspap-webgui/pull/1395"},{"type":"WEB","url":"https://github.com/RaspAP/raspap-webgui/commit/e87e7d1d3a61617430851f2a040379de1ff3dd9d"},{"type":"PACKAGE","url":"https://github.com/RaspAP/raspap-webgui"},{"type":"WEB","url":"https://github.com/RaspAP/raspap-webgui/blob/master/ajax/networking/get_wgkey.php"},{"type":"WEB","url":"https://github.com/RaspAP/raspap-webgui/releases/tag/2.9.5"},{"type":"WEB","url":"https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2"}],"affected":[{"package":{"name":"billz/raspap-webgui","ecosystem":"Packagist","purl":"pkg:composer/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-7r88-wjhj-jr8m/GHSA-7r88-wjhj-jr8m.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}