Rapid7 Vulnerability & Exploit Database

Zabbix 2.0.8 SQL Injection and Remote Code Execution

Back to Search

Zabbix 2.0.8 SQL Injection and Remote Code Execution

Disclosed
09/23/2013
Created
05/30/2018

Description

This module exploits an unauthenticated SQL injection vulnerability affecting Zabbix versions 2.0.8 and lower. The SQL injection issue can be abused in order to retrieve an active session ID. If an administrator level user is identified, remote code execution can be gained by uploading and executing remote scripts via the 'scripts_exec.php' file.

Author(s)

  • Lincoln <Lincoln@corelan.be>
  • Jason Kratzer <pyoor@corelan.be>

Platform

Unix

Architectures

cmd

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/linux/http/zabbix_sqli
msf exploit(zabbix_sqli) > show targets
    ...targets...
msf exploit(zabbix_sqli) > set TARGET < target-id >
msf exploit(zabbix_sqli) > show options
    ...show and set options...
msf exploit(zabbix_sqli) > 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

;