MODULE

Apache HugeGraph Gremlin RCE

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

Apache HugeGraph Gremlin RCE

Disclosed
04/22/2024
Created
08/14/2024

Description

This module exploits CVE-2024-27348 which is a Remote Code Execution (RCE) vulnerability that exists in Apache HugeGraph Server in versions before 1.3.0. An attacker can bypass the sandbox restrictions and achieve RCE through Gremlin, resulting in complete control over the server

Author(s)

  • 6right
  • jheysel-r7

Platform

Linux,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/apache_hugegraph_gremlin_rce
msf exploit(apache_hugegraph_gremlin_rce) > show targets
    ...targets...
msf exploit(apache_hugegraph_gremlin_rce) > set TARGET < target-id >
msf exploit(apache_hugegraph_gremlin_rce) > show options
    ...show and set options...
msf exploit(apache_hugegraph_gremlin_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

;