Cudy TR3000 root command execution in WireGuard export
Shenzhen Cudy Technology Co., Ltd. TR3000 1.0
Shenzhen Cudy Technology Co., Ltd. TR3000 1.0
| Product | Affected | Fixed in |
|---|---|---|
| Shenzhen Cudy Technology Co., Ltd. TR3000 1.0 |
|
|
Cudy TR3000 before 2.5.42 contains a command injection vulnerability that allows authenticated administrators to execute commands as root via the WireGuard server private_key option. Attackers can save a private key containing $() command substitution, which runs when action_wireguards_export() passes it to luci.sys.exec during configuration export.
From the CVE record · VulnCheck
Cudy TR3000 before 2.5.42 is vulnerable to command injection in the WireGuard server private_key option. An authenticated administrator can save a key containing command substitution that executes as root when the configuration is exported.
Administrators running Cudy TR3000 versions before 2.5.42 should check their devices.