GHSA-9pgx-pf36-w46r

    Dashboard / Vulnerabilities / GHSA-9pgx-pf36-w46r

    GHSA-9pgx-pf36-w46r

    Published: 24 May 2022Last Modified: 8 Nov 2023

    Summary: CakePHP allows method override parameters to bypass CSRF checks

    Details: 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.

    Affected packages

    Package

    Name: cakephp/cakephp

    Purl: pkg:composer/cakephp/cakephp

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 4.0.0
    Fixed -4.0.10

    Affected versions

    4.0.0
    4.0.1
    4.0.2
    4.0.3
    4.0.4
    4.0.5
    4.0.6
    4.0.7
    4.0.8
    4.0.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-9pgx-pf36-w46r | CVE-DB