Summary
An rpcd access-control issue in OpenWrt LuCI's Travelmate app allows authenticated read-only users to invoke certain state-changing commands with root privileges. Depending on the commands they invoke, they may alter and commit network or firewall configuration or disrupt the Travelmate daemon.
Affected context
The issue affects LuCI's luci-app-travelmate where its rpcd ACL permits file execution for state-mutating commands within the read scope. The described affected releases are master before 3.0.0-1 and openwrt-25.12 before 2.4.9-6. Commands include Travelmate service actions and /sbin/ifup.
Exploit preconditions
- Attack surface: LuCI's rpcd/ubus file execution interface
- Required access: An authenticated account with read-only access
- Trigger point: Invocation of an allowed state-mutating command through
ubus file exec - Why exploitation is possible: The ACL grants execution permission for privileged commands in a scope intended for read access, allowing those commands to run as root.
Why this happens
The underlying issue is an authorization boundary failure: the ACL associates file-execution permissions for state-changing operations with a read-only access scope. This maps to CWE-269: Improper Privilege Management, because a user's effective privileges exceed those intended by the access policy.
Potential impact
- An authenticated read-only user could run the permitted commands with root privileges.
- Network or firewall configuration could be modified and committed.
- The Travelmate daemon could be stopped or otherwise disrupted.
- Network connectivity or related services could be interrupted.
General mitigation guidance
Defensive patterns focus on aligning permissions with the sensitivity of each operation:
- Keep state-changing actions outside read-only ACL scopes.
- Apply explicit authorization checks to each RPC method and command.
- Expose narrow, purpose-specific operations rather than general file execution.
- Run service actions with the least privilege needed.
- Treat authenticated users and RPC requests according to their actual privilege level, not merely their connection context.
How teams detect issues like this
Review rpcd ACLs and related RPC method definitions for execution permissions granted to read-only roles. Check whether service-control commands or network configuration actions are reachable through file-execution interfaces, and compare effective permissions against the intended role model. Audit logs and policy tests can help identify read-only accounts invoking state-changing operations.

