GHSA-cqqh-94r6-wjrg

    Dashboard / Vulnerabilities / GHSA-cqqh-94r6-wjrg

    GHSA-cqqh-94r6-wjrg

    Published: 14 May 2022Last Modified: 25 Apr 2024

    Summary: Symfony SSRF Vulnerability via Form Component

    Details: An issue was discovered in Symfony before 2.7.38, 2.8.31, 3.2.14, 3.3.13, 3.4-BETA5, and 4.0-BETA5. When a form is submitted by the user, the request handler classes of the Form component merge POST data and uploaded files data into one array. This big array forms the data that are then bound to the form. At this stage there is no difference anymore between submitted POST data and uploaded files. A user can send a crafted HTTP request where the value of a "FileType" is sent as normal POST data that could be interpreted as a local file path on the server-side (for example, "file:///etc/passwd"). If the application did not perform any additional checks about the value submitted to the "FileType", the contents of the given file on the server could have been exposed to the attacker.

    Affected packages

    Package

    Name: symfony/form

    Purl: pkg:composer/symfony/form

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.7.0
    Fixed -2.7.38

    Affected versions

    v2.7.0
    v2.7.1
    v2.7.10
    v2.7.11
    v2.7.12
    v2.7.13
    v2.7.14
    v2.7.15
    v2.7.16
    v2.7.17
    v2.7.18
    v2.7.19
    v2.7.2
    v2.7.20
    v2.7.21
    v2.7.22
    v2.7.23
    v2.7.24
    v2.7.25
    v2.7.26
    v2.7.27
    v2.7.28
    v2.7.29
    v2.7.3
    v2.7.30
    v2.7.31
    v2.7.32
    v2.7.33
    v2.7.34
    v2.7.35
    v2.7.36
    v2.7.37
    v2.7.4
    v2.7.5
    v2.7.6
    v2.7.7
    v2.7.8
    v2.7.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-cqqh-94r6-wjrg | CVE-DB