Cyber Resilience

CVE-2023-27584

Exposed Creds in Linuxfoundation Dragonfly ≤ 2.0.9

Public PoCExposed Creds
Published
19 September 2024
Modified
20 December 2024
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.34 98th percentile
Risk Priority 93 floored blend · peak EPSS

Summary

CVE-2023-27584 is a critical-severity Use of Hard-coded Cryptographic Key (CWE-321) vulnerability in Linuxfoundation Dragonfly. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 2% of CVEs by exploit likelihood; 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 IA-5 (Authenticator Management) and SC-12 (Cryptographic Key Establishment and Management) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

Dragonfly, an open source P2P-based file distribution and image acceleration system hosted by the CNCF, contains a hardcoded JWT secret key value of "Secret Key" used for user authentication. This flaw, tracked as CVE-2023-27584 and assigned CVSS 9.8, corresponds to CWE-321 and CWE-798 and permits complete authentication bypass in all versions prior to the fix.

An unauthenticated remote attacker can exploit the static key to forge valid JWT tokens and perform any action with administrative privileges, including arbitrary operations on the Dragonfly deployment. The vulnerability requires no user interaction or special network positioning beyond network reachability to the affected service.

The official security advisory and release notes for Dragonfly2 version 2.0.9 state that the issue has been resolved in that version and that no workarounds exist, directing all users to upgrade immediately. The associated EPSS score has reached 0.6618 without a documented low-to-high trajectory after disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Dragonfly is an open source P2P-based file distribution and image acceleration system. It is hosted by the Cloud Native Computing Foundation (CNCF) as an Incubating Level Project. Dragonfly uses JWT to verify user. However, the secret key for JWT, "Secret…

more

Key", is hard coded, which leads to authentication bypass. An attacker can perform any action as a user with admin privileges. This issue has been addressed in release version 2.0.9. All users are advised to upgrade. There are no known workarounds for this vulnerability.

CWE(s)

Related Threats

Likely ATT&CK TechniquesAI

Techniques this vulnerability likely enables, inferred from its description, weakness type, and attributed-actor tradecraft. Confidence is per-technique.

T1190 Exploit Public-Facing Application Initial Accessconfidence: HIGH
Hardcoded JWT secret enables unauthenticated remote attackers to forge admin tokens and fully compromise the exposed Dragonfly service.
T1078 Valid Accounts Stealthconfidence: HIGH
Forged JWT tokens allow use of valid-appearing administrative accounts without knowing real credentials.
T1556 Modify Authentication Process Defense Impairmentconfidence: MEDIUM
Static secret bypasses the intended authentication process, effectively subverting the authentication mechanism.
inferred from description + CWE · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2025-59350Same product: Linuxfoundation Dragonfly
CVE-2026-24124Same product: Linuxfoundation Dragonfly
CVE-2025-59345Same product: Linuxfoundation Dragonfly
CVE-2025-59352Same product: Linuxfoundation Dragonfly
CVE-2025-59346Same product: Linuxfoundation Dragonfly
CVE-2025-59347Same product: Linuxfoundation Dragonfly
CVE-2025-59348Same product: Linuxfoundation Dragonfly
CVE-2025-59410Same product: Linuxfoundation Dragonfly
CVE-2025-59351Same product: Linuxfoundation Dragonfly
CVE-2025-59349Same product: Linuxfoundation Dragonfly

Affected Assets

linuxfoundation
dragonfly
≤ 2.0.9

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)
  • IA-5 Authenticator Management
  • SC-12 Cryptographic Key Establishment and Management
  • AC-3 Access Enforcement
Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly requires secure generation, storage, and rotation of authenticators so that a JWT signing key cannot be statically embedded as the literal string "Secret Key".

prevent

Mandates proper cryptographic key establishment and management procedures that preclude hard-coded, publicly known secrets used for token signing.

prevent

Enforces that every access request must be validated against current authorizations, which fails when an attacker can mint arbitrary admin JWTs with the static key.

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.PS-06 mostly match
prevents

Secure-SDLC activities such as code review and secret scanning directly prevent embedding static keys.

PR.AA-01 partial match
prevents

PR.AA-01's credential/key-management processes can reduce the incentive to embed secrets but do not address or detect hard-coded values in source code, so the weakness remains fully possible.

PR.DS-01 partial match
prevents

Data-at-rest protection policies require proper key management and therefore discourage hard-coded keys.

PR.DS-02 partial match
prevents

Data-in-transit protection similarly depends on non-hard-coded keys for encryption.

PR.PS-01 partial match
prevents

Configuration baselines and reviews can prohibit hard-coded keys in deployed artifacts.

PR.AA-02 none match
prevents

PR.AA-02 addresses human identity proofing and per-person credential issuance at enrollment; it has no bearing on whether developers embed static credentials in software.

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

Education on secure configuration practices discourages technical staff from embedding or relying on hard-coded credentials in systems and applications.

prevents

Key-management controls that govern generation, rotation and protection of keys make the use of embedded hard-coded cryptographic keys less likely and easier to detect.

prevents

Explicit prohibition of hard-coded passwords and unauthenticated external services stops credentials from being embedded directly in source code.

prevents

Contractual requirements for secure coding practices and evidence of testing make it less likely that hard-coded credentials will be introduced or remain undetected in delivered code.

none

Requiring independent oversight and timely disabling of non-human identities makes it harder for hard-coded or long-lived credentials to remain exploitable.

none

Mandating immediate replacement of vendor-supplied default credentials eliminates the use of hard-coded or factory passwords that attackers can trivially obtain from documentation or firmware.

References