Description
luci-proto-openvpn through 0.11.1, fixed in commit e4ff45e, contains a command injection vulnerability in the generateKey ubus method where the cl_meta parameter is interpolated into a shell command without proper escaping or quoting. An authenticated LuCI user with OpenVPN protocol configuration access can inject arbitrary shell metacharacters into cl_meta to execute commands as root via the popen function.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| openwrt | luci-proto-openvpn | ≤ 0.11.1 | — |
References
- GitHub Security Advisory (GHSA-pm9w-522m-8rrh) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: luci-proto-openvpn - Command Injection via cl_meta Parameter in generateKey third-party-advisory