authd: SSH session with another account's UID via lost in-memory ID reservation after authd restart
In authd before 0.7.2, an improper access control vulnerability allows an authenticated remote attacker to complete a first-time SSH login with another account's UID and incorrect primary GID, and to read or modify files owned by that account. This allows an attacker to access another account's data, potentially enabling account takeover or privilege escalation.
Improper Access Control CWE-284
The software does not properly check who is allowed to do what.
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Canonical authd | Software | from 0.4.1, before 0.7.2; from 0.6.1ubuntu0.1, before 0.6.1ubuntu0.2 | 0.7.2; 0.6.1ubuntu0.2 |
The 7.2 severity score (high) from ubuntu.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Setup needed on the target | Present | The target has to be set up in a particular way. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | Active | A person has to take a deliberate action, such as clicking through a warning. |
| Data exposed | High | Total loss of confidentiality: the attacker can read all the data the program can reach. |
| Data changed | High | The attacker can change or delete anything the program can reach. |
| Service disrupted | None | The service keeps running. |
NIST lists 2 sources for this flaw, none tagged as a vendor patch.