CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2009 · Smarty

CVE-2009-1669
Smarty vulnerability

The smarty_function_math function in libs/plugins/function.math.php in Smarty 2.6.22 allows context-dependent attackers to execute arbitrary commands via shell metacharacters in the equation attribute of the math function. NOTE: some of these details are obtained from third party information.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

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.