diff options
| author | Christian Breunig <christian@breunig.cc> | 2026-11-08 17:45:14 +0100 |
|---|---|---|
| committer | Christian Breunig <christian@breunig.cc> | 2026-11-08 17:48:31 +0100 |
| commit | 5846ae3525cf7f9d6024edc330b2cf58f4b8ffbc (patch) | |
| tree | bf2870987a814dd1357376872a66ddcaa8ba6715 /src/systemd/dhcp6c@.service | |
| parent | d495ea4ff90118908e1fbeadbf9fc419b542ff9e (diff) | |
| download | vyos-1x-5846ae3525cf7f9d6024edc330b2cf58f4b8ffbc.tar.gz vyos-1x-5846ae3525cf7f9d6024edc330b2cf58f4b8ffbc.zip | |
op-mode: T9587: reject control characters in operator commands
The special character check for operator-level users allowed any
whitespace, including newlines. Tag node values are substituted into a
shell command which runs as root, so an operator could append arbitrary
commands, e.g. "vyos-op-run show interfaces ethernet $'eth0\nid'".
Only plain spaces are accepted now, everything else is rejected before
privileges are raised. The operator smoketest covers this case.
Diffstat (limited to 'src/systemd/dhcp6c@.service')
0 files changed, 0 insertions, 0 deletions
