GHSA-q79m-c546-2g63 CakePHP vulnerable to Denial of Service attack through XML payloads
Attackers can cause denial of service in CakePHP applications by sending crafted XML payloads to the RequestHandlerComponent.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-q79m-c546-2g63?
GHSA-q79m-c546-2g63 is a denial of service 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
Xml::build() which allows reading local files. We recommend that all applications using RequestHandlerComponent upgrade, or disable parsing XML payloads.Which versions are affected by GHSA-q79m-c546-2g63?
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.90 |
cakephp/cakephp Packagist | From 2.5.0 | 2.5.90 |
cakephp/cakephp Packagist | From 2.6.0 | 2.6.6 |
cakephp/cakephp Packagist | From 2.6.0 | 2.6.6 |
cakephp/cakephp Packagist | From 3.0.0 | 3.0.6 |
cakephp/cakephp Packagist | From 3.0.0 | 3.0.6 |
How do I fix GHSA-q79m-c546-2g63?
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, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-q79m-c546-2g63 being exploited?
There is no known exploitation of GHSA-q79m-c546-2g63 in the wild and no public exploit code.