CVE-2022-39986 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-7c28-wg7r-pg6f , EUVD-2023-2233
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 99.1%
- EPSS 99.1% chance of exploitation in 30 days, percentile 99.9%
- public exploits
- 1
- Metasploit, plus a Nuclei check
Summary
A Command injection vulnerability in RaspAP 2.8.0 thru 2.8.7 allows unauthenticated attackers to execute arbitrary commands via the cfg_id parameter in /ajax/openvpn/activate_ovpncfg.php and /ajax/openvpn/del_ovpncfg.php.
Patch / fix
- packagist billz/raspap-webgui 2.8.8
- github.com/RaspAP/raspap-webgui@1fabc48 commit
- github.com/RaspAP/raspap-webgui#1303 pull request
Timeline
- First public exploit (Metasploit exploit/unix/http/raspap_rce)
- Published
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
99.06% chance of exploitation in the next 30 days, higher than 99.9% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/unix/http/raspap_rce RaspAP Unauthenticated Command Injection metasploit exploit, excellent rank, 2023-07-31
- Nuclei template RaspAP 2.8.7 - Unauthenticated Command Injection nuclei detection template
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/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.8.8 |
2.8.8 |
Classification
- Weakness
-
- CWE-77 Improper Neutralization of Special Elements used in a Command
References
-
github.com
/RaspAP/raspap-webgui/pull/1303
web
-
github.com
/RaspAP/raspap-webgui/commit/1fabc481690e008279113e18d0642c5279e3b56e
web
-
github.com
/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php
web, vendor-advisory
- medium.com /%40ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
- packetstormsecurity.com /files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html
-
nvd.nist.gov
/vuln/detail/CVE-2022-39986
advisory
-
github.com
/RaspAP/raspap-webgui
package
-
medium.com
/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
web
Sources
- CVE List CVE-2022-39986
- GitHub Advisory GHSA-7c28-wg7r-pg6f
- NVD CVE-2022-39986
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.