OpenWrt LuCI arbitrary file read in luci-app-uhttpd ACL
openwrt luci
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| openwrt luci |
|
|
Original description
OpenWrt LuCI luci-app-uhttpd before commit d38658bedbdd811b798da16b49301478c6cf21af grants '/*' file read in its rpcd read ACL, which rpcd's fnmatch matching applies to every path. Users delegated only luci-app-uhttpd read access can read any file as root, including /etc/shadow, /etc/config/* credentials, /etc/uhttpd.key, and /etc/dropbear keys.
From the CVE record · VulnCheck