Security 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 21th percentile
Risk Priority 51 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

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 Exploitation for Credential Access (T1212); ranked at the 21th 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

MITRE ATT&CK v20.0

T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1606 Forge Web Credentials Credential Access
Adversaries may forge credential materials that can be used to gain access to web applications or Internet services.
T1606.001 Web Cookies Credential Access
Adversaries may forge web cookies that can be used to gain access to web applications or Internet services.
T1078.004 Cloud Accounts Stealth
Valid accounts in cloud environments may allow adversaries to perform actions to achieve Initial Access, Persistence, Privilege Escalation, or Defense Evasion.
T1110 Brute Force Credential Access
Adversaries may use brute force techniques to gain access to accounts when passwords are unknown or when password hashes are obtained.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
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-2023-32549Same vendor: Canonical
CVE-2026-47333Same vendor: Canonical
CVE-2026-47332Same vendor: Canonical
CVE-2026-63298Same vendor: Canonical
CVE-2026-28384Same vendor: Canonical
CVE-2026-47330Same vendor: Canonical
CVE-2024-8287Same 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)
  • 2 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V7.2.3
  • V11.5.1

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

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)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

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

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

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

prevents

A well-implemented A.8.24 cryptography policy sets approved algorithms, key generation and usage practices, so in-house code should use cryptographically secure seeds rather than predictable ones, leaving mainly third-party, COTS or legacy components with already-made seeding choices as the nameable remainder.

finds

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

blocks

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

prevents

Training developers about cryptographic best practices, including proper PRNG seeding (avoiding time-based or constant seeds, using cryptographically secure entropy sources), prevents some instances of CWE-335, but PRNG seeding is a specialized topic that not all training programs cover in depth, and developers remain fallible on the technical details.

blocks

A.8.2 governs the allocation and management of privileged access rights, not the enforcement of those rights; CWE-286 describes a user being assigned to the wrong group, and the clause's authorization process may prevent that misassignment but does not block exploitation of a misassignment that already occurred.

prevents

Secure-coding standards mandate correct PRNG seeding to avoid predictable random values.

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 our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.

Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.

No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.

Oracle Linux 8 (1 partial rule)
  • V-248563 The OL 8 SSH server must be configured to use strong entropy. blocks CWE-335
RHEL 8 (1 partial rule)
  • V-230253 RHEL 8 must ensure the SSH server uses strong entropy. blocks CWE-335

References