Intel

AIKIDO-2025-10005

cakephp/cakephp is vulnerable to Open Redirect

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Jan 7, 2025
January 7, 2025

63

CVE Score

Medium

Open Redirect

Are you affected? Scan for Free

TL;DR

Affected versions of this package are affected by Open redirect due to improper handling of encoded forward slashes (%2F) when reading request URIs. These paths may be misinterpreted as a single slash (/), resulting in unexpected routing behavior. This problem could potentially be exploited to create open redirect attacks, allowing an attacker to redirect users to malicious sites.

How do I fix this?

Upgrade the cakephp/cakephp library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Versions

3.0.0 - 4.5.8

Fixed in 4.5.9

5.0.0 - 5.1.2

Fixed in 5.1.4

Background info

cakephp/cakephp is vulnerable to Open Redirect in versions 5.0.0 - 5.1.2 and 3.0.0 - 4.5.8.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea