Vulnerability & Exploit Database

Back to search

Joomla Content History SQLi Remote Code Execution

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.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Asaf Orpani
  • xistence <xistence [at]>



  • Joomla 3.x <= 3.4.4


  • php


  • php



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 and set options... msf exploit(joomla_contenthistory_sqli_rce) > exploit

Related Vulnerabilities

Related Modules