travelmate: update 2.4.6-2
authorDirk Brenken <redacted>
Wed, 17 Jun 2026 18:58:27 +0000 (20:58 +0200)
committerDirk Brenken <redacted>
Wed, 17 Jun 2026 18:58:27 +0000 (20:58 +0200)
commit0627b412ee3a760cc4bca9fc8a5b73de8f33ac10
tree689c9223e450ef22bcb6888ed3f14ecbffabfb2d
parent1fe6ecf9a2cf63c9fb93d6974c40e85c37239483
travelmate: update 2.4.6-2

harden captive portal auto-login script handling:
* enforce the login-script allowlist in the backend instead of the
  LuCI frontend only: canonicalize the configured path via 'readlink -f'
  (defeats ../ traversal and symlink-to-interpreter tricks) and require a
  regular, executable /etc/travelmate/*.login file before running it
* run the script in a noglob subshell ('set -f') so attacker-influenceable
  script_args can no longer expand globs into the trusted script; field
  splitting (multiple args) is preserved
* writing into /etc/travelmate/ is not covered by the luci-app-travelmate
  ACL, so this limits the root-executed script to admin-placed login scripts
  and closes a delegated-ACL to root command execution path.

Signed-off-by: Dirk Brenken <redacted>
net/travelmate/Makefile
net/travelmate/files/travelmate-functions.sh
git clone https://git.99rst.org/PROJECT