What to do
Update the firmware to 2.5.42 and do not expose router management to the internet.
Official description
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.
Source: NVD.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Shenzhen Cudy Technology Co., Ltd. | TR3000 1.0 | < 2.5.42 |
Versions as recorded in NVD. Always check the vendor's advisory for the fixed version of your edition.
How FlowPro NG helps
Finds the affected devices
The Software and vulnerabilities module compares the software installed on your servers and workstations with the vulnerable versions and shows where this CVE applies.
Sets the priority
The priority combines the CVSS score, the EPSS probability and whether the device is reachable from the internet.
Watches for attempts
IDS alerts that name a CVE are matched with the devices vulnerable to it, so an attack on a vulnerable target is reported as critical.