GHSA-g3p2-hfqr-9m25

    Dashboard / Vulnerabilities / GHSA-g3p2-hfqr-9m25

    GHSA-g3p2-hfqr-9m25

    Published: 23 Nov 2021Last Modified: 16 Feb 2024

    Summary: Improper file handling in concrete5/core

    Details: A bypass of adding remote files in Concrete CMS (previously concrete5) File Manager leads to remote code execution in Concrete CMS (concrete5) versions 8.5.6 and below. The external file upload feature stages files in the public directory even if they have disallowed file extensions. They are stored in a directory with a random name, but it's possible to stall the uploads and brute force the directory name. You have to be an admin with the ability to upload files, but this bug gives you the ability to upload restricted file types and execute them depending on server configuration. To fix this, a check for allowed file extensions was added before downloading files to a tmp directory

    Affected packages

    Package

    Name: concrete5/core

    Purl: pkg:composer/concrete5/core

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -8.5.7

    Affected versions

    8.2.0
    8.2.0RC2
    8.2.1

    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-g3p2-hfqr-9m25 | CVE-DB