GitHub Advisoryadvisory · Packagist

GHSA-6frx-2r5w-c524 Smarty3 Arbitrary PHP Code Execution

CRITICAL Published 2022-04-22 Modified 2024-01-12 Official page ↗
Aliases
CVE-2011-1028
Ecosystem
Packagist
Packages
smarty/smarty
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-20
Reviewed
2024-01-12

Affected packages

• Packagist smarty/smarty: < 3.0.7 → fixed in 3.0.7

Description

The `$smarty.template` variable in Smarty3 allows attackers to possibly execute arbitrary PHP code via the `sysplugins/smarty_internal_compile_private_special_variable.php` file.

Related

Alias · CVE (1)

  • CVE-2011-1028 The $smarty.template variable in Smarty3 allows attackers to possibly execute arbitrary PHP code via the… vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References