CVE-2011-1028: Smarty3 Arbitrary PHP Code Execution

Published Nov 20, 2019
·
Updated

Smarty3 Arbitrary PHP Code Execution

Other sources

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

— GitHub

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

— MITRE

Affected Software

7 affected componentsFixes available
composer/smarty/smarty<3.0.7
3.0.7
Smarty smarty>=3.0.0<3.0.7
Debian Debian Linux=8.0
Debian Debian Linux=9.0
Debian Debian Linux=10.0
composer/smarty/smarty<3.0.7
3.0.7
debian/smarty3
3.1.47-2+deb12u13.1.48-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/smarty/smarty to a version that resolves this vulnerability.

    Fixed in 3.0.7
  2. Upgrade

    Upgrade debian/smarty3 to a version that resolves this vulnerability.

    Fixed in 3.1.47-2+deb12u1Fixed in 3.1.48-2

Event History

Nov 20, 2019
CVE Published
via MITRE·02:45 PM
Data Sourced
via MITRE·02:45 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2022
Advisory Published
via GitHub·12:24 AM
Data Sourced
via GitHub·12:24 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via Packagist·12:24 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2011-1028?

CVE-2011-1028 has been classified with high severity due to the potential for arbitrary PHP code execution.

2

How do I fix CVE-2011-1028?

To fix CVE-2011-1028, update Smarty to version 3.0.7 or later.

3

Which versions are affected by CVE-2011-1028?

CVE-2011-1028 affects Smarty versions prior to 3.0.7 and specific Debian Linux versions including 8.0, 9.0, and 10.0.

4

What is the impact of CVE-2011-1028?

The impact of CVE-2011-1028 allows attackers to execute arbitrary PHP code, leading to potential system compromise.

5

Is there a workaround for CVE-2011-1028?

As a temporary workaround for CVE-2011-1028, avoid using the vulnerable $smarty.template variable until you can apply the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203