GHSA-2pmx-6mm6-6v72

    Dashboard / Vulnerabilities / GHSA-2pmx-6mm6-6v72

    GHSA-2pmx-6mm6-6v72

    Published: 17 May 2022Last Modified: 6 Dec 2024
    Aliases:

    Summary: Smarty arbitrary PHP code execution

    Details: Smarty before 3.1.21 allows remote attackers to bypass the secure mode restrictions and execute arbitrary PHP code as demonstrated by "{literal}<{/literal}script language=php>" in a template.

    Affected packages

    Package

    Name: smarty/smarty

    Purl: pkg:composer/smarty/smarty

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -3.1.21

    Affected versions

    v2.6.24
    v2.6.25
    v2.6.26
    v2.6.27
    v2.6.28
    v2.6.29
    v2.6.30
    v2.6.31
    v2.6.33

    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-2pmx-6mm6-6v72 | CVE-DB