Lucene search

K
osvGoogleOSV:GHSA-9PGX-PF36-W46R
HistoryMay 24, 2022 - 5:40 p.m.

CakePHP allows method override parameters to bypass CSRF checks

2022-05-2417:40:14
Google
osv.dev
9
cakephp
csrfprotectionmiddleware
vulnerability
method override
bypass
csrf checks
http request
route middleware

EPSS

0.001

Percentile

41.8%

A vulnerability exists in CakePHP versions 4.0.x through 4.1.3. The CsrfProtectionMiddleware component allows method override parameters to bypass CSRF checks by changing the HTTP request method to an arbitrary string that is not in the list of request methods that CakePHP checks. Additionally, the route middleware does not verify that this overriden method (which can be an arbitrary string) is actually an HTTP method.

EPSS

0.001

Percentile

41.8%