Cyber Resilience

CVE-2024-9312

Canonical Authd ≤ 0.3.6

Public PoC
Published
10 October 2024
Modified
26 August 2025
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0028 20th percentile
Risk Priority 51 floored blend · peak EPSS

Summary

CVE-2024-9312 is a high-severity Incorrect User Management (CWE-286) vulnerability in Canonical Authd. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Account Manipulation (T1098); ranked at the 20th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-2 (Account Management) and IA-4 (Identifier Management) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Authd, through version 0.3.6, did not sufficiently randomize user IDs to prevent collisions. A local attacker who can register user names could spoof another user's ID and gain their privileges.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1098 Account Manipulation Persistence
Adversaries may manipulate accounts to maintain and/or elevate access to victim systems.
T1136 Create Account Persistence
Adversaries may create an account to maintain access to victim systems.
T1606 Forge Web Credentials Credential Access
Adversaries may forge credential materials that can be used to gain access to web applications or Internet services.
T1078 Valid Accounts Stealth
Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1098.001 Additional Cloud Credentials Persistence
Adversaries may add adversary-controlled credentials to a cloud account to maintain persistent access to victim accounts and instances within the environment.
T1098.003 Additional Cloud Roles Persistence
An adversary may add additional roles or permissions to an adversary-controlled cloud account to maintain persistent access to a tenant.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-5689Same product: Canonical Authd
CVE-2024-9313Same product: Canonical Authd
CVE-2024-7558Same vendor: Canonical
CVE-2026-34179Same vendor: Canonical
CVE-2023-32549Same vendor: Canonical
CVE-2026-32694Same vendor: Canonical
CVE-2023-1326Same vendor: Canonical
CVE-2025-7044Same vendor: Canonical
CVE-2026-12411Same vendor: Canonical
CVE-2026-32693Same vendor: Canonical

Affected Assets

canonical
authd
≤ 0.3.6

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)
  • 4 hardening rules · 4 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V7.2.3
  • V11.5.1

Mitigating Controls (NIST 800-53 r5) AI

AC-2 directly requires defining, assigning, and controlling user accounts throughout their lifecycle, structurally preventing improper user management.

IA-4 mandates authorized management of user identifiers, stopping the creation or retention of unmanaged user identities.

SC-12 requires proper establishment and management of cryptographic keys and material, which directly encompasses correct seeding of PRNGs used for cryptographic purposes.

PS-4 enforces timely disabling and removal of access upon termination, addressing a key failure mode of incorrect ongoing user management.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.AA-01 mostly match
prevents

Directly addresses management of user identities and credentials throughout their lifecycle.

PR.AA-05 mostly match
prevents

Covers policy-driven definition and review of user permissions and entitlements.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly enforce correct PRNG seeding during development, though the control addresses many other coding issues as well.

PR.AA-02 partial match
prevents

Supports proper user onboarding by binding verified identities to credentials.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

prevents

Identity management directly governs the full lifecycle of user accounts, preventing incorrect user management.

prevents

Access rights provisioning and de-provisioning ensure users are correctly created, modified, and removed.

prevents

Responsibilities after termination or change of employment address removal of user access but not ongoing user management.

prevents

Privileged access rights assume correct user accounts exist; the control does not manage user creation or removal.

finds

Security testing can detect weak seeding but does not itself prevent the weakness.

prevents

Access control policies rely on accurate user management but do not themselves define user lifecycle processes.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (authoritative rows only; rows rated `none` are excluded).

Oracle Linux 8 (1 rule)
  • V-248563 The OL 8 SSH server must be configured to use strong entropy. prevents CWE-335
Oracle Linux 9 (1 rule)
  • V-271707 OL 9 must enable the Pluggable Authentication Module (PAM) interface for SSHD. prevents CWE-286
RHEL 8 (1 rule)
  • V-230253 RHEL 8 must ensure the SSH server uses strong entropy. prevents CWE-335
RHEL 9 (1 rule)
  • V-257986 RHEL 9 must enable the Pluggable Authentication Module (PAM) interface for SSHD. prevents CWE-286

References