CVE-2022-39987 in the critical feed json
RaspAP Command Injection vulnerability
published 2023-08-01 3 y ago modified 2026-06-17 4 mo ago also GHSA-7r88-wjhj-jr8m , EUVD-2023-2235
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 37.3%
- EPSS 37.3% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
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.
Patch / fix
- packagist billz/raspap-webgui 2.9.5
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
37.34% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | billz/raspap-webgui | >=2.8.0, <2.9.5 |
2.9.5 |
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/RaspAP/raspap-webgui/pull/1395
web
-
github.com
/RaspAP/raspap-webgui/commit/e87e7d1d3a61617430851f2a040379de1ff3dd9d
web
-
github.com
/RaspAP/raspap-webgui/blob/master/ajax/networking/get_wgkey.php
web, vendor-advisory
- medium.com /%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
-
nvd.nist.gov
/vuln/detail/CVE-2022-39987
advisory
-
github.com
/RaspAP/raspap-webgui
package
-
github.com
/RaspAP/raspap-webgui/releases/tag/2.9.5
web
-
medium.com
/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
web
Sources
- CVE List CVE-2022-39987
- GitHub Advisory GHSA-7r88-wjhj-jr8m
- NVD CVE-2022-39987
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.