Account impersonation via deterministic UID collisions
Published Oct 10, 2024 · Updated Oct 10, 2024
Incorrect user management in Canonical authd before 0.3.6 allows local users to gain another account's privileges via a colliding username. GenerateID deterministically hashes attacker-chosen usernames into a small UID range, while uniqueness checks cover only the expiring local cache. Exploitation requires the ability to register a chosen identity-provider username and log in where the target UID is absent from that cache, granting access as the target account.
Summary
What happened
Incorrect user management in Canonical authd before 0.3.6 allows local users to gain another account's privileges via a colliding username. GenerateID deterministically hashes attacker-chosen usernames into a small UID range, while uniqueness checks cover only the expiring local cache. Exploitation requires the ability to register a chosen identity-provider username and log in where the target UID is absent from that cache, granting access as the target account.
The record
- CVE
- CVE-2024-9312
- Published
- Oct 10, 2024
- Updated
- Oct 10, 2024
- Vendor
- Canonical
- Product
- authd
- Classifications
- CWE-335, CWE-286, T1068
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Oct 10, 2024CVE publishedPublication date reported by the CVE source.
- Oct 10, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <0.3.6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo