GHSA-p76f-wr22-4rv6 CakePHP vulnerable to Remote File Inclusion through View template name manipulation
Attackers can execute arbitrary code or read sensitive files by manipulating view template names in CakePHP applications.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-p76f-wr22-4rv6?
GHSA-p76f-wr22-4rv6 is a path traversal vulnerability in cakephp/cakephp, published on 20 Jan 2023. It can be exploited over the network, with no action from the victim.
Official description
Which versions are affected by GHSA-p76f-wr22-4rv6?
20 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 |
14 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.99 |
cakephp/cakephp Packagist | From 2.5.0 | 2.5.99 |
cakephp/cakephp Packagist | From 2.6.0 | 2.6.12 |
cakephp/cakephp Packagist | From 2.6.0 | 2.6.12 |
cakephp/cakephp Packagist | From 2.7.0 | 2.7.6 |
cakephp/cakephp Packagist | From 2.7.0 | 2.7.6 |
cakephp/cakephp Packagist | From 3.0.0 | 3.0.15 |
cakephp/cakephp Packagist | From 3.0.0 | 3.0.15 |
cakephp/cakephp Packagist | From 3.1.0 | 3.1.4 |
cakephp/cakephp Packagist | From 3.1.0 | 3.1.4 |
How do I fix GHSA-p76f-wr22-4rv6?
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 resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is GHSA-p76f-wr22-4rv6 being exploited?
There is no known exploitation of GHSA-p76f-wr22-4rv6 in the wild and no public exploit code.