A flaw was found in Cockpit. A local authenticated user with control over a target account's home directory can exploit a privileged symlink dereference vulnerability in the ssh-add-public-key.sh helper. When this helper runs with elevated privileges, it can be tricked into following attacker-controlled symlinks within the .ssh or authorized_keys paths. This allows the attacker to arbitrarily change file ownership and modes, potentially leading to local privilege escalation and impacting the integrity, confidentiality, and availability of the system.
0:366.1.1-1.el10_30:310.10.2-1.el8_100:366.1.1-1.el9_90:356.4.1-1.el10_20:356.4.1-1.el9_8Exploitability
AV:LAC:LPR:LUI:RScope
S:UImpact
C:HI:HA:H7.3/CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H