🛡️ CVE-2011-1028 — smarty
Description
Smarty3 Arbitrary PHP Code Execution
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.
How this vulnerability can be exploited
This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality high, integrity high, availability high.
Weakness class
CVE-2011-1028 is classified as CWE-20: Improper Input Validation. The application accepts input without checking that it has the expected form, so malformed values reach code that assumes they are well formed.
Affected software
CVE-2011-1028 is recorded against 1 package.
- smarty/smarty (fixed in 3.0.7)
Timeline and source
Published on 22 April 2022 and last revised on 16 February 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
seclists.org (Web)
security-tracker.debian.org (Web)
web.archive.org (Web)
www.smarty.net (Web)
Details
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| smarty/smarty | — | 3.0.7 |
References
Similar Threats
- Unknown CVE-2026-62992
- Unknown CVE-2026-62996
- High CVE-2024-35226
- High CVE-2023-28447
- Unknown CVE-2018-25047
More CVE 2011 advisories
Browse all of CVE 2011 in the advisory index.
Exploit Protection
Are you running smarty?
CVE-2011-1028 carries CVSS 9.5 Critical rating. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.
Check My Site For CVE-2011-1028 →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.