A flaw was found in Cockpit. A local authenticated user with control over a target account's home directory can exploit a privileged symlink dereferen...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:12cockpit |
All versions→ Not listed |
Not listed |
| Debian:13cockpit |
All versions→ Not listed |
Not listed |
| Debian:14cockpit |
< 372-1→ 372-1 |
372-1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org