Lucene search
K

FreeWebshop v5.0- Cross Site Scripting & SQL Injection Vulnerabilities

🗓️ 26 Mar 2010 00:00:00Reported by SoraType 
zdt
 zdt
🔗 0day.today👁 21 Views

FreeWebshop v5.0- Cross Site Scripting & SQL Injection Vulnerabilities. CommonSense CMS Content Management System with search.php vulnerabilit

Code
======================================================================
FreeWebshop v5.0- Cross Site Scripting & SQL Injection Vulnerabilities
======================================================================


Vendor site => http://www.sensesites.com/

Date:
Jun 13 2006

Risk = MEDIUM

Version:
5.0

Credit:
=======
NewAngels Team - Discovered By LBDT - newangels-team.eu

Description:
CommonSense CMS is a Content Management System that is designed for
content-rich websites created for displaying
AdSense?ads or affiliate banners. Combined with our prebuilt
content
collections and auto-update network, it is a
powerful platform for instantly creating profitable and successful
websites.

Affected file:
search.php

There're no filters to special chars like <, >, /, etc. Then an attacker
can
execute html code. Chars
like ' and " are replaced by a \ but that's not a problem to a good
attacker, lol...

foreach(explode(" ", $SEARCH) as $t)
{
$t = ereg_replace("['`]", "", $t);
$t = ereg_replace("[^a-zA-Z0-9_]", " ", $t);
if(strlen($t) > 3)
$queries[] = $t;
}

Example:
http://www.site.com/search.php?q=[XSS]&t=1<http://www.site.com/search.php?q
=%5BXSS%5D&t=1>

Google search -> "Powered by CommonSense CMS script"



#  0day.today [2018-02-06]  #

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