GHSA-j9q2-f9q7-jhgq CakePHP SecurityComponent cross form submission issue

Not scored Published

Attackers can submit forms to unauthorized actions, potentially causing mass assignment issues in CakePHP applications using SecurityComponent.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is GHSA-j9q2-f9q7-jhgq?

GHSA-j9q2-f9q7-jhgq is a missing authorization vulnerability in cakephp/cakephp, published on 20 Jan 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Prior to versions 2.4.8 and 1.3.18, forms secured by SecurityComponent could be submitted to any action without triggering SecurityComponent’s tampering protection. If an application contained multiple POST forms to manipulate the same models, it could be vulnerable to mass assignment issues.

Which versions are affected by GHSA-j9q2-f9q7-jhgq?

4 open source packages ship an affected version, including cakephp/cakephp.

PackageAffectedFixed in
cakephp/cakephp PackagistFrom 1.3.01.3.18
cakephp/cakephp PackagistFrom 1.3.01.3.18
cakephp/cakephp PackagistFrom 2.0.02.4.8
cakephp/cakephp PackagistFrom 2.0.02.4.8

How do I fix GHSA-j9q2-f9q7-jhgq?

Upgrade cakephp/cakephp to a fixed version for your release line: 1.3.18 or 2.4.8.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is GHSA-j9q2-f9q7-jhgq being exploited?

There is no known exploitation of GHSA-j9q2-f9q7-jhgq in the wild and no public exploit code.

Sources

Is GHSA-j9q2-f9q7-jhgq in your software?

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

Check your SBOMs for free