Cudy TR3000 root command execution in VPN file upload
Shenzhen Cudy Technology Co., Ltd. TR3000 1.0
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Shenzhen Cudy Technology Co., Ltd. TR3000 1.0 |
|
|
Original description
Cudy TR3000 before 2.5.42 contains a command injection vulnerability that allows authenticated administrators to execute commands as root via an unvalidated multipart filename in the CBI FileUpload handler. Attackers can upload a valid OpenVPN configuration file through the VPN client config page with a filename containing $() shell substitution, which is passed through Lua %q to /bin/sh -c.
From the CVE record · VulnCheck