PoC Monitor
← All CVEs
CVE-2024-27348published 22 Apr 2024 14:08 UTCData: JSON · API

Apache Software Foundation Apache HugeGraph-Server

Apache HugeGraph-Server: Command execution in gremlin

RCE-Remote Command Execution vulnerability in Apache HugeGraph-Server.This issue affects Apache HugeGraph-Server: from 1.0.0 before 1.3.0 in Java8 & Java11 Users are recommended to upgrade to version 1.3.0 with Java11 & enable the Auth system, which fixes the issue.

First public PoC 39 daysafter publication · 31 May 2024
Public PoCs96 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-284
CISA KEV 18 Sep 2024149 days after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

org.apache.hugegraph:hugegraph-api (Maven)
  • >= 1.0.0, < 1.3.0

Fixed in 1.3.0

from GitHub Security Advisory GHSA-29rc-vq7f-x335

org.apache.hugegraph:hugegraph-core (Maven)
  • >= 1.0.0, < 1.3.0

Fixed in 1.3.0

from GitHub Security Advisory GHSA-29rc-vq7f-x335

Mitigation

Upgrade org.apache.hugegraph:hugegraph-api to 1.3.0 or later.

Upgrade org.apache.hugegraph:hugegraph-core to 1.3.0 or later.

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150CVE published22 Apr 2024 · t = 0First public PoC31 May 2024 · t+39dAdded to CISA KEV18 Sep 2024 · t+149d

First public PoC 39 days after publication; added to CISA KEV 149 days after publication. First PoC: Zeyad-Azima/CVE-2024-27348 (created 31 May 2024, found by us: backfilled).

PoC repositories

Found on GitHub.

6 PoCs

PoCs 6
RepositoryCreatedStarsAssessment
Zeyad-Azima/CVE-2024-27348 31 May 2024 +39 d 59 PoC
kljunowsky/CVE-2024-27348 3 Jun 2024 +42 d 18 PoC
jakabakos/CVE-2024-27348-Apache-HugeGraph-RCE 12 Jun 2024 +51 d 4 PoC
p0et08/CVE-2024-27348 10 Feb 2025 +294 d 0 PoC
wqfh/CVE-2024-27348 13 Dec 2025 +1.6 y 1 PoC
akelaqe/CVE-2024-27348-HugeGraph-RCE 30 Mar 2026 +1.9 y 1 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 6 PoC repos

GET /

Query
cmd=
Ports
4444, 8182
Seen in
1 repo: wqfh/CVE-2024-27348
Evidence
wqfh/CVE-2024-27348/bind_shell.py:19

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /gremlin
(?i)^/gremlin(?:[?#].*)?$
GET /
(?i)^/\?(?:.*&)?cmd=

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /gremlin
alert http any any -> $HOME_NET [80,4444,8080,8182] (msg:"GG PoC-Monitor CVE-2024-27348 Apache Software Foundation Apache HugeGraph-Server exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/gremlin"; http.header; content:"Accept: application/json"; nocase; http.request_body; content:"|22|gremlin|22|:|22||22||22|"; http.request_body; content:"|22|bindings|22|"; http.request_body; content:"|22|language|22|:|22|gremlin-groovy|22|"; http.request_body; content:"|22|aliases|22|"; http.request_body; content:"|22|gremlin|22|"; reference:url,poc.griffinguard.io/cve/CVE-2024-27348; classtype:web-application-attack; sid:9724768; rev:1;)
GET /
alert http any any -> $HOME_NET [4444,8182] (msg:"GG PoC-Monitor CVE-2024-27348 Apache Software Foundation Apache HugeGraph-Server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"cmd="; reference:url,poc.griffinguard.io/cve/CVE-2024-27348; classtype:web-application-attack; sid:9274470; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /gremlin
title: Apache Software Foundation Apache HugeGraph-Server exploit attempt (CVE-2024-27348)
id: gg-pocmon-cve-2024-27348-9724768
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-27348. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2024-27348
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/gremlin'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2024.27348
GET /
title: Apache Software Foundation Apache HugeGraph-Server exploit attempt (CVE-2024-27348)
id: gg-pocmon-cve-2024-27348-9274470
status: experimental
description: Request pattern taken from public PoCs for CVE-2024-27348. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2024-27348
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-query|contains|all:
      - 'cmd='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2024.27348