PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2024-34065: 
JavaScript vulnerability analysis and mitigation

Overview

CVE-2024-34065 affects Strapi, an open-source content management system, specifically the @strapi/plugin-users-permissions component before version 4.24.2. The vulnerability combines two security issues: an Open Redirect vulnerability and a session token exposure via URL query parameters. This security flaw was discovered and disclosed on June 12, 2024, allowing unauthenticated attackers to bypass authentication mechanisms and retrieve third-party tokens (GitHub Advisory).

Technical details

The vulnerability consists of two combined weaknesses: an Open Redirect (CWE-601) and Authentication Bypass by Capture-replay (CWE-294). The issue occurs in the OAuth callback functionality where the application unsafely handles user-controllable data in redirection targets. The vulnerability has received a CVSS v3.1 base score of 8.1 (HIGH) from NIST with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N, while GitHub assessed it at 7.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N (NVD).

Impact

When exploited, this vulnerability allows unauthenticated attackers to bypass authentication mechanisms and obtain third-party tokens. The attack requires minimal user interaction (one click) and can lead to unauthorized access to Strapi applications. The impact primarily affects confidentiality and integrity of the system, with high potential for unauthorized data access (GitHub Advisory).

Exploitability

The vulnerability is exploitable through a network vector with low attack complexity. It requires user interaction but no privileges for exploitation. The attack involves crafting a specific URL that combines the Open Redirect vulnerability with the session token exposure via URL parameters. The exploit can be triggered with a single click from the victim (GitHub Advisory).

Mitigation and workarounds

Users should upgrade @strapi/plugin-users-permissions to version 4.24.2 or later to receive the security patch. The fix addresses both the Open Redirect vulnerability and the insecure transmission of session tokens via URL parameters (GitHub Advisory).

Additional resources


Source: This report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-vjh5-4x84-xrqpMEDIUM6.3
  • JavaScript logoJavaScript
  • @nuxt/nitro-server
NoYesOct 22, 2026
CVE-2026-114606MEDIUM5.6
  • JavaScript logoJavaScript
  • draw.io
NoYesOct 22, 2026
GHSA-x562-297c-g43gMEDIUM5.4
  • JavaScript logoJavaScript
  • electron
NoYesOct 22, 2026
GHSA-2p8c-gr87-2676MEDIUM4.2
  • JavaScript logoJavaScript
  • electron
NoYesOct 22, 2026
GHSA-m5mm-p8h7-m29vLOWN/A
  • JavaScript logoJavaScript
  • serialize-javascript
NoYesOct 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management