Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| openwrt / luci-proto-openvpn | affected 0 through 0.11.1; unaffected e4ff45ecbc6ad212951815c8c99b2749fbd7de6b |
CWE
CWE-78
References
- https://github.com/openwrt/luci/security/advisories/GHSA-pm9w-522m-8rrh
- https://github.com/openwrt/luci/commit/e4ff45ecbc6ad212951815c8c99b2749fbd7de6b
- https://www.vulncheck.com/advisories/luci-proto-openvpn-command-injection-via-cl-meta-parameter-in-generatekey
ADP enrichment
No English description supplied.