Rapid7 Vulnerability & Exploit Database

OrientDB 2.2.x Remote Code Execution

Back to Search

OrientDB 2.2.x Remote Code Execution

Disclosed
07/13/2017
Created
05/30/2018

Description

This module leverages a privilege escalation on OrientDB to execute unsandboxed OS commands. All versions from 2.2.2 up to 2.2.22 should be vulnerable.

Author(s)

  • Francis Alexander - Beyond Security's SecuriTeam Secure Disclosure program
  • Ricardo Jorge Borges de Almeida ricardojba1 <Ricardo Jorge Borges de Almeida ricardojba1@gmail.com>

Platform

Linux,Unix,Windows

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

;