CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2008 · Smarty

CVE-2008-4810
Smarty vulnerability

The _expand_quoted_text function in libs/Smarty_Compiler.class.php in Smarty 2.6.20 before r2797 allows remote attackers to execute arbitrary PHP code via vectors related to templates and (1) a dollar-sign character, aka "php executed in templates;" and (2) a double quoted literal string, aka a "function injection security hole." NOTE: each vector affects slightly different SVN revisions.

Affected products

Smarty. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Smarty runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Smarty products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.