Page MenuHomeVyOS Platform

vyos-op-run allows a permission check bypass
Open, HighPublic

Description

The fix for running op mode commands as root in https://vyos.dev/T7901 has a really bad side effect in combination with an early setuid call — the way Linux sets the EUID of suid binaries allows it to bypass the permission check.

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)