GHSA-q79m-c546-2g63 CakePHP vulnerable to Denial of Service attack through XML payloads

Not scored Published

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

RequestHandlerComponent had a vulnerability that would allow well crafted requests to create a denial of service attack. RequestHandlerComponent leverages 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.

PackageAffectedFixed in
cakephp/cakephp PackagistFrom 2.0.02.0.99
cakephp/cakephp PackagistFrom 2.0.02.0.99
cakephp/cakephp PackagistFrom 2.1.02.1.99
cakephp/cakephp PackagistFrom 2.1.02.1.99
cakephp/cakephp PackagistFrom 2.2.02.2.99
cakephp/cakephp PackagistFrom 2.2.02.2.99
10 more packages
cakephp/cakephp PackagistFrom 2.3.02.3.99
cakephp/cakephp PackagistFrom 2.3.02.3.99
cakephp/cakephp PackagistFrom 2.4.02.4.99
cakephp/cakephp PackagistFrom 2.4.02.4.99
cakephp/cakephp PackagistFrom 2.5.02.5.90
cakephp/cakephp PackagistFrom 2.5.02.5.90
cakephp/cakephp PackagistFrom 2.6.02.6.6
cakephp/cakephp PackagistFrom 2.6.02.6.6
cakephp/cakephp PackagistFrom 3.0.03.0.6
cakephp/cakephp PackagistFrom 3.0.03.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.

Sources

Is GHSA-q79m-c546-2g63 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free