GHSA-6hg4-vp5q-47mw CakePHP allows direct access of prefixed controller actions
Attackers can bypass authorization checks to access restricted controller actions via unconventional URL paths in CakePHP applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-6hg4-vp5q-47mw?
GHSA-6hg4-vp5q-47mw is a missing authorization vulnerability in cakephp/cakephp, published on 20 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Which versions are affected by GHSA-6hg4-vp5q-47mw?
16 open source packages ship an affected version, including cakephp/cakephp.
| Package | Affected | Fixed in |
|---|---|---|
cakephp/cakephp Packagist | From 2.0.0 | 2.0.99 |
cakephp/cakephp Packagist | From 2.0.0 | 2.0.99 |
cakephp/cakephp Packagist | From 2.1.0 | 2.1.99 |
cakephp/cakephp Packagist | From 2.1.0 | 2.1.99 |
cakephp/cakephp Packagist | From 2.2.0 | 2.2.99 |
cakephp/cakephp Packagist | From 2.2.0 | 2.2.99 |
10 more packages
cakephp/cakephp Packagist | From 2.3.0 | 2.3.99 |
cakephp/cakephp Packagist | From 2.3.0 | 2.3.99 |
cakephp/cakephp Packagist | From 2.4.0 | 2.4.99 |
cakephp/cakephp Packagist | From 2.4.0 | 2.4.99 |
cakephp/cakephp Packagist | From 2.5.0 | 2.5.9 |
cakephp/cakephp Packagist | From 2.5.0 | 2.5.9 |
cakephp/cakephp Packagist | From 2.6.0 | 2.6.11 |
cakephp/cakephp Packagist | From 2.6.0 | 2.6.11 |
cakephp/cakephp Packagist | From 2.7.0 | 2.7.2 |
cakephp/cakephp Packagist | From 2.7.0 | 2.7.2 |
How do I fix GHSA-6hg4-vp5q-47mw?
Upgrade cakephp/cakephp to a fixed version for your release line: 2.0.99, 2.1.99, 2.2.99 or 2.3.99.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is GHSA-6hg4-vp5q-47mw being exploited?
There is no known exploitation of GHSA-6hg4-vp5q-47mw in the wild and no public exploit code.