Smarty 'smarty_function_html_options_optoutput()' Function Cross Site Scripting Vulnerability
BID:53507
Info
Smarty 'smarty_function_html_options_optoutput()' Function Cross Site Scripting Vulnerability
| Bugtraq ID: | 53507 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | May 14 2012 12:00AM |
| Updated: | May 14 2012 12:00AM |
| Credit: | ikehiroki |
| Vulnerable: |
New Digital Group Smarty 3.1.8 |
| Not Vulnerable: | |
Discussion
Smarty 'smarty_function_html_options_optoutput()' Function Cross Site Scripting Vulnerability
Smarty is prone to a cross-site scripting vulnerability because it fails to sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
Smarty 3.1.8 is vulnerable; other versions may also be affected.
Smarty is prone to a cross-site scripting vulnerability because it fails to sanitize user-supplied input.
An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and to launch other attacks.
Smarty 3.1.8 is vulnerable; other versions may also be affected.
Exploit / POC
Smarty 'smarty_function_html_options_optoutput()' Function Cross Site Scripting Vulnerability
An attacker can exploit the issue by enticing an unsuspecting user to visit a specially crafted URL.
An attacker can exploit the issue by enticing an unsuspecting user to visit a specially crafted URL.
Solution / Fix
Smarty 'smarty_function_html_options_optoutput()' Function Cross Site Scripting Vulnerability
Solution:
Vendor updates are available. Please see the references for more information.
Solution:
Vendor updates are available. Please see the references for more information.
References
Smarty 'smarty_function_html_options_optoutput()' Function Cross Site Scripting Vulnerability
References:
References:
- Issue 98: XSS in html_options (ikehiroki )
- Smarty Change Log (New Digital Group)
- Smarty Homepage (New Digital Group)