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
Linux,Unix
cmd
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