User impersonation via mutable PAM identity
Published Oct 3, 2024 · Updated Nov 22, 2024
Authentication confusion in Canonical authd before 0.3.5 allows remote authenticated users to impersonate another broker-managed user. The PAM module permits PAM_USER to change after an initiating application has set it, binding the attacker's credentials to the selected account. A broker-managed account and a PAM consumer that fails to verify the final PAM_USER, such as affected su, sudo, or ssh versions, are required; login and passwd are unaffected.
Summary
What happened
Authentication confusion in Canonical authd before 0.3.5 allows remote authenticated users to impersonate another broker-managed user. The PAM module permits PAM_USER to change after an initiating application has set it, binding the attacker's credentials to the selected account. A broker-managed account and a PAM consumer that fails to verify the final PAM_USER, such as affected su, sudo, or ssh versions, are required; login and passwd are unaffected.
The record
- CVE
- CVE-2024-9313
- Published
- Oct 3, 2024
- Updated
- Nov 22, 2024
- Vendor
- Canonical
- Product
- authd
- Classifications
- T1078
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 3, 2024CVE publishedPublication date reported by the CVE source.
- Nov 22, 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.5
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
- Canonical cross-user authentication demonstrationsproof of concept · demonstrated
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