Rapid7 Vulnerability & Exploit Database

Joomla Content History SQLi Remote Code Execution

Back to Search

Joomla Content History SQLi Remote Code Execution

Disclosed
10/23/2015
Created
05/30/2018

Description

This module exploits a SQL injection vulnerability found in Joomla versions 3.2 up to 3.4.4. The vulnerability exists in the Content History administrator component in the core of Joomla. Triggering the SQL injection makes it possible to retrieve active Super User sessions. The cookie can be used to login to the Joomla administrator backend. By creating a new template file containing our payload, remote code execution is made possible.

Author(s)

  • Asaf Orpani
  • xistence <xistence@0x90.nl>

Platform

PHP

Architectures

php

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/unix/webapp/joomla_contenthistory_sqli_rce
msf exploit(joomla_contenthistory_sqli_rce) > show targets
    ...targets...
msf exploit(joomla_contenthistory_sqli_rce) > set TARGET < target-id >
msf exploit(joomla_contenthistory_sqli_rce) > show options
    ...show and set options...
msf exploit(joomla_contenthistory_sqli_rce) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;