Published:2012/10/10  Last Updated:2012/10/10

JVN#63650108
Smarty vulnerable to cross-site scripting

Overview

Smarty contains a cross-site scripting vulnerability.

Products Affected

  • Smarty 3.1.11 and earlier
  • Smarty 2.6.26 and earlier

Description

Smarty is a template engine for PHP. Smarty contains a cross-site scripting vulnerability when displaying an error message.

Impact

An arbitrary script may be executed on the user's web browser.

Solution

Update the software
Update to the latest version according to the information provided by the developer.

Vendor Status

Vendor Link
Smarty Changelog
Smarty - Template Engine

References

JPCERT/CC Addendum

Vulnerability Analysis by JPCERT/CC

Analyzed on 2012.10.10

Measures Conditions Severity
Access Required can be attacked over the Internet using packets
  • High
Authentication anonymous or no authentication (IP addresses do not count)
  • High
User Interaction Required the user must be convinced to take a standard action that does not feel harmful to most users, such as click on a link or view a file
  • Mid
Exploit Complexity the user must be convinced to take a difficult or suspicious action. If the honest user must have elevated privileges, they are likely to be more suspiciouse
  • High

Description of each analysis measures

Credit

Yuji Tounai of bogus.jp reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.

Other Information

JPCERT Alert
JPCERT Reports
CERT Advisory
CPNI Advisory
TRnotes
CVE CVE-2012-4437
JVN iPedia JVNDB-2012-000094