Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
luci-app-travelmate - Arbitrary Command Execution via UCI Script Parameter
Vulnerability Description
luci-app-travelmate (and the travelmate package) contain a privilege-escalation flaw: a LuCI/rpcd session holding the luci-app-travelmate write ACL is granted config-wide UCI write access to the travelmate configuration. While the LuCI UI restricts the auto-login script picker to /etc/travelmate/*.login, this is only a frontend restriction. The backend travelmate service (running as root) reads the raw UCI 'script' and 'script_args' values and executes the configured path when the captive-portal auto-login branch (f_check() in travelmate-functions.sh) is reached. An attacker with delegated write permissions can set script to /bin/sh and script_args to attacker-controlled arguments, resulting in arbitrary command execution as root. Confirmed in luci-app-travelmate/travelmate 2.4.5-r3; the sink is still present in travelmate 2.4.6-1 and no patched version is known.
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
OpenWRT luci 命令注入漏洞
Vulnerability Description
OpenWRT luci是OpenWRT社区开源的一款路由器配置界面。 OpenWRT luci存在命令注入漏洞,该漏洞源于LuCI/rpcd会话持有luci-app-travelmate写入ACL时,被授予了travelmate配置的全局UCI写入权限,且后端travelmate服务读取原始UCI 'script'和'script_args'值并执行配置的路径,导致具有委托写入权限的攻击者可将script设置为/bin/sh,将script_args设置为攻击者控制的参数,从而导致以root身份执行任意
CVSS Information
N/A
Vulnerability Type
N/A