Shenzhen Cudy Technology Co., Ltd. TR3000 1.0
Cudy TR3000 before 2.5.42 Command Injection via OpenVPN Client Configuration Upload
Edge device · Router / network deviceknown edge product: Shenzhen Cudy Technology Co., Ltd. TR3000 1.0 Cudy TR3000 before 2.5.42 (high confidence)
Cudy TR3000 before 2.5.42 contains a command injection vulnerability in luci/model/cbi/vpn/openvpn/client.lua, which embeds the shellquote()-quoted remote host token of an uploaded OpenVPN configuration inside an already single-quoted sed program run by os.execute(), so the nested quotes terminate the outer quote. Authenticated administrators can upload an .ovpn file whose remote host token contains a semicolon to execute arbitrary commands as root.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.5.42
Fixed in 2.5.42
Mitigation
Upgrade TR3000 1.0 to 2.5.42 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.