Cyber Resilience

CVE-2024-34065

Auth Bypass in Strapi ≤ 4.24.2

Published
12 June 2024
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 7.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
EPSS Score 0.0071 50th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2024-34065 is a high-severity Authentication Bypass by Capture-replay (CWE-294) vulnerability in Strapi Strapi. Its CVSS base score is 7.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Network Sniffing (T1040); ranked in the top 50% 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 SC-23 (Session Authenticity) and SC-8 (Transmission Confidentiality and Integrity) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Strapi is an open-source content management system. By combining two vulnerabilities (an `Open Redirect` and `session token sent as URL query parameter`) in @strapi/plugin-users-permissions before version 4.24.2, is its possible of an unauthenticated attacker to bypass authentication mechanisms and retrieve…

more

the 3rd party tokens. The attack requires user interaction (one click). Unauthenticated attackers can leverage two vulnerabilities to obtain an 3rd party token and the bypass authentication of Strapi apps. Users should upgrade @strapi/plugin-users-permissions to version 4.24.2 to receive a patch.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1040 Network Sniffing Credential Access
Adversaries may passively sniff network traffic to capture information about an environment, including authentication material passed over the network.
T1550.003 Pass the Ticket Lateral Movement
Adversaries may “pass the ticket” using stolen Kerberos tickets to move laterally within an environment, bypassing normal system access controls.
T1550.004 Web Session Cookie Lateral Movement
Adversaries can use stolen session cookies to authenticate to web applications and services.
T1557 Adversary-in-the-Middle Credential Access
Adversaries may attempt to position themselves between two or more networked devices using an adversary-in-the-middle (AiTM) technique to support follow-on behaviors such as [Network Sniffing](https://attack.
T1021 Remote Services Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
T1021.002 SMB/Windows Admin Shares Lateral Movement
Adversaries may use [Valid Accounts](https://attack.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-57997Same product: Strapi Strapi
CVE-2023-22893Same product: Strapi Strapi
CVE-2023-39345Same product: Strapi Strapi
CVE-2026-22706Same product: Strapi Strapi
CVE-2025-53092Same product: Strapi Strapi
CVE-2023-34093Same product: Strapi Strapi
CVE-2023-36472Same product: Strapi Strapi
CVE-2023-34235Same product: Strapi Strapi
CVE-2026-22707Same product: Strapi Strapi
CVE-2026-27886Same product: Strapi Strapi

Affected Assets

strapi
strapi
≤ 4.24.2

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V10.4.16
  • V10.5.1
  • V3.7.2

Mitigating Controls (NIST 800-53 r5) AI

Session authenticity mechanisms directly stop replay of captured authentication traffic by enforcing freshness or cryptographic binding.

Transmission integrity (with anti-replay) stops captured messages from being accepted as valid later.

Input validation directly checks and rejects untrusted redirect targets before they are used in a response.

Information flow enforcement can restrict redirects to only approved/trusted destinations, stopping untrusted user-supplied URLs from being followed.

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-04 mostly match
prevents

Protecting and verifying identity assertions prevents replay of captured authentication material.

PR.DS-02 mostly match
prevents

Encryption and integrity protections for data-in-transit directly block capture-replay of credentials or tokens.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input validation and untrusted-redirect controls that prevent CWE-601.

DE.CM-01 partial match
prevents

Network monitoring may detect anomalous replays after the fact but does not prevent the design flaw.

PR.AA-03 partial match
prevents

Strong authentication methods can reduce replay risk but do not inherently address captured messages.

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

Cryptographic protections (e.g., nonces, timestamps, message authentication codes) make captured authentication messages unusable for replay.

prevents

Secure authentication mechanisms directly prevent replay attacks by requiring fresh, non-replayable credentials or tokens.

mitigates

Network security controls such as encryption and integrity protection reduce the feasibility of capturing and replaying authentication traffic.

mitigates

Preventing access to attacker-controlled or malicious sites stops users from being redirected to untrusted locations via open-redirect or phishing links.

prevents

Application security requirements can mandate replay-resistant authentication designs, but the control itself does not prescribe the technical measures.

References