Smarty Input Validation Flaw in {html_options} Function Plugin Permits Cross-Site Scripting Attacks
|
|
SecurityTracker Alert ID: 1027061 |
|
SecurityTracker URL: http://securitytracker.com/id/1027061
|
|
CVE Reference:
CVE-2012-4277
(Links to External Site)
|
Updated: Aug 14 2012
|
Original Entry Date: May 14 2012
|
Impact:
Disclosure of authentication information, Disclosure of user information, Execution of arbitrary code via network, Modification of user information
|
Fix Available: Yes Vendor Confirmed: Yes Exploit Included: Yes
|
Version(s): 3.1.8
|
Description:
A vulnerability was reported in Smarty. A remote user can conduct cross-site scripting attacks.
The 'function.html_options.php' script does not properly filter HTML code. A remote user can cause arbitrary scripting code to be executed by the target user's browser. The code will originate from the site running the Smarty software and will run in the security context of that site. As a result, the code will be able to access the target user's cookies (including authentication cookies), if any, associated with the site, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
Applications using the {html_options} function plugin may be affected.
ikehiroki at gmail reported this vulnerability.
|
Impact:
A remote user can access the target user's cookies (including authentication cookies), if any, associated with the site running the Smarty software, access data recently submitted by the target user via web form to the site, or take actions on the site acting as the target user.
|
Solution:
The vendor has issued a source code fix, available via SVN at:
http://smarty-php.googlecode.com/svn/trunk/distribution/libs/plugins/function.html_options.php
|
Vendor URL: www.smarty.net/ (Links to External Site)
|
Cause:
Input validation error
|
Underlying OS:
Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Date: Mon, 14 May 2012 14:59:08 +0000
Subject: Smarty
|
http://smarty-php.googlecode.com/svn/trunk/distribution/change_log.txt
12.05.2012
- bugfix {html_options} did not properly escape values (Issue 98)
|
|