{
  "id": "CVE-2024-27348",
  "url": "https://poc.griffinguard.io/cve/CVE-2024-27348",
  "published_at": "2024-04-22T14:08:06.294Z",
  "title": "Apache HugeGraph-Server: Command execution in gremlin",
  "vendor": "Apache Software Foundation",
  "product": "Apache HugeGraph-Server",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2024-09-18",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 149
  },
  "first_poc": {
    "created_at": "2024-05-31T20:11:37Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 39.3,
    "repo": "Zeyad-Azima/CVE-2024-27348",
    "source": "github"
  },
  "poc_repo_count": 6,
  "exploit_count": 3,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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 \u0026 Java11\n\nUsers are recommended to upgrade to version 1.3.0 with Java11 \u0026 enable the Auth system, which fixes the issue.",
  "cwe": "CWE-284",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [
    {
      "repo": "Zeyad-Azima/CVE-2024-27348",
      "url": "https://github.com/Zeyad-Azima/CVE-2024-27348",
      "created_at": "2024-05-31T20:11:37Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 59,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-03-19T22:54:48Z"
    },
    {
      "repo": "kljunowsky/CVE-2024-27348",
      "url": "https://github.com/kljunowsky/CVE-2024-27348",
      "created_at": "2024-06-03T19:08:24Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 18,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-04-24T23:17:34Z"
    },
    {
      "repo": "jakabakos/CVE-2024-27348-Apache-HugeGraph-RCE",
      "url": "https://github.com/jakabakos/CVE-2024-27348-Apache-HugeGraph-RCE",
      "created_at": "2024-06-12T08:14:39Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 4,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-08-18T17:33:15Z"
    },
    {
      "repo": "p0et08/CVE-2024-27348",
      "url": "https://github.com/p0et08/CVE-2024-27348",
      "created_at": "2025-02-10T03:24:18Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-06-21T06:11:19Z"
    },
    {
      "repo": "wqfh/CVE-2024-27348",
      "url": "https://github.com/wqfh/CVE-2024-27348",
      "created_at": "2025-12-13T06:31:00Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-10-31T05:02:34Z"
    },
    {
      "repo": "akelaqe/CVE-2024-27348-HugeGraph-RCE",
      "url": "https://github.com/akelaqe/CVE-2024-27348-HugeGraph-RCE",
      "created_at": "2026-03-30T10:52:41Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-12-04T11:11:05Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "org.apache.hugegraph:hugegraph-api",
        "ranges": [
          "\u003e= 1.0.0, \u003c 1.3.0"
        ],
        "fixed_in": [
          "1.3.0"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-29rc-vq7f-x335"
      },
      {
        "vendor": "",
        "product": "org.apache.hugegraph:hugegraph-core",
        "ranges": [
          "\u003e= 1.0.0, \u003c 1.3.0"
        ],
        "fixed_in": [
          "1.3.0"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-29rc-vq7f-x335"
      }
    ],
    "upgrade": [
      "Upgrade org.apache.hugegraph:hugegraph-api to 1.3.0 or later.",
      "Upgrade org.apache.hugegraph:hugegraph-core to 1.3.0 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52149",
      "source": "exploitdb",
      "title": "Apache HugeGraph Server 1.2.0 - Remote Code Execution (RCE)",
      "published_at": "2025-04-09T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/apache_hugegraph_gremlin_rce.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Apache HugeGraph Gremlin RCE (exploit/linux/http/apache_hugegraph_gremlin_rce)",
      "published_at": "2024-07-29T21:08:38Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-27348.yaml",
      "source": "nuclei",
      "title": "nuclei template: Apache HugeGraph-Server - Remote Command Execution",
      "published_at": "2024-06-02T18:33:37Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/gremlin",
      "headers": [
        {
          "name": "Accept",
          "value": "application/json"
        }
      ],
      "body_markers": [
        "\"gremlin\":\"\"\"",
        "\"bindings\"",
        "\"language\":\"gremlin-groovy\"",
        "\"aliases\"",
        "\"gremlin\""
      ],
      "content_type": "application/json",
      "ports": [
        80,
        4444,
        8080,
        8182
      ],
      "protocol": "http",
      "repos": [
        "akelaqe/CVE-2024-27348-HugeGraph-RCE",
        "jakabakos/CVE-2024-27348-Apache-HugeGraph-RCE",
        "kljunowsky/CVE-2024-27348",
        "p0et08/CVE-2024-27348",
        "wqfh/CVE-2024-27348"
      ],
      "repo_count": 5,
      "confidence": 0.7,
      "evidence": [
        "akelaqe/CVE-2024-27348-HugeGraph-RCE/exploit.py:52",
        "jakabakos/CVE-2024-27348-Apache-HugeGraph-RCE/exploit.py:24",
        "jakabakos/CVE-2024-27348-Apache-HugeGraph-RCE/exploit.py:27",
        "kljunowsky/CVE-2024-27348/CVE-2024-27348.py:23",
        "kljunowsky/CVE-2024-27348/CVE-2024-27348.py:32",
        "p0et08/CVE-2024-27348/CVE-2024-27348.py:23",
        "p0et08/CVE-2024-27348/CVE-2024-27348.py:34",
        "wqfh/CVE-2024-27348/exploit.py:32"
      ]
    },
    {
      "method": "GET",
      "path_template": "/",
      "query_markers": [
        "cmd="
      ],
      "ports": [
        4444,
        8182
      ],
      "protocol": "https",
      "repos": [
        "wqfh/CVE-2024-27348"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "wqfh/CVE-2024-27348/bind_shell.py:19"
      ]
    }
  ],
  "rules": []
}
