{
  "id": "CVE-2023-33246",
  "url": "https://poc.griffinguard.io/cve/CVE-2023-33246",
  "published_at": "2023-05-24T14:45:25.684Z",
  "title": "Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function",
  "vendor": "Apache Software Foundation",
  "product": "Apache RocketMQ",
  "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": "2023-09-06",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 105
  },
  "first_poc": {
    "created_at": "2023-05-30T02:18:29Z",
    "first_seen_at": "2026-11-14T10:26:36.149Z",
    "days_after_publication": 5.5,
    "repo": "I5N0rth/CVE-2023-33246",
    "source": "github"
  },
  "poc_repo_count": 6,
  "exploit_count": 2,
  "suspicious_repo_count": 1,
  "edge_device": null,
  "description": "For RocketMQ versions 5.1.0 and below, under certain conditions, there is a risk of remote command execution. \n\nSeveral components of RocketMQ, including NameServer, Broker, and Controller, are leaked on the extranet and lack permission verification, an attacker can exploit this vulnerability by using the update configuration function to execute commands as the system users that RocketMQ is running as. Additionally, an attacker can achieve the same effect by forging the RocketMQ protocol content. \n\nTo prevent these attacks, users are recommended to upgrade to version 5.1.1 or above for using RocketMQ 5.x or 4.9.6 or above for using RocketMQ 4.x .",
  "cwe": "CWE-94",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [
    {
      "repo": "Devil0ll/CVE-2023-33246",
      "url": "https://github.com/Devil0ll/CVE-2023-33246",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:59:14.787Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "hanch7274/CVE-2023-33246",
      "url": "https://github.com/hanch7274/CVE-2023-33246",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:59:14.787Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "hheeyywweellccoommee/CVE-2023-33246-dgjfd",
      "url": "https://github.com/hheeyywweellccoommee/CVE-2023-33246-dgjfd",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:59:14.787Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "hheeyywweellccoommee/CVE-2023-33246-rnkku",
      "url": "https://github.com/hheeyywweellccoommee/CVE-2023-33246-rnkku",
      "created_at": null,
      "first_seen_at": "2026-11-14T21:59:14.787Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped"
    },
    {
      "repo": "I5N0rth/CVE-2023-33246",
      "url": "https://github.com/I5N0rth/CVE-2023-33246",
      "created_at": "2023-05-30T02:18:29Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 62,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2023-05-27T09:00:37Z"
    },
    {
      "repo": "4mazing/CVE-2023-33246-Copy",
      "url": "https://github.com/4mazing/CVE-2023-33246-Copy",
      "created_at": "2023-05-31T07:28:46Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-09-23T13:36:00Z"
    },
    {
      "repo": "yizhimanpadewoniu/CVE-2023-33246-Copy",
      "url": "https://github.com/yizhimanpadewoniu/CVE-2023-33246-Copy",
      "created_at": "2023-05-31T07:28:46Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-09-23T13:36:00Z"
    },
    {
      "repo": "Le1a/CVE-2023-33246",
      "url": "https://github.com/Le1a/CVE-2023-33246",
      "created_at": "2023-06-01T02:17:20Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 81,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2022-01-12T14:04:04Z"
    },
    {
      "repo": "SuperZero/CVE-2023-33246",
      "url": "https://github.com/SuperZero/CVE-2023-33246",
      "created_at": "2023-06-01T06:27:09Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 113,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-10-30T12:54:37Z"
    },
    {
      "repo": "Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT",
      "url": "https://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT",
      "created_at": "2023-06-01T14:48:26Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z",
      "stars": 106,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 20,
      "suspicious": false,
      "suspicion_reasons": [
        "large base64 blob in code in check.py"
      ],
      "status": "analyzed",
      "owner_created_at": "2013-07-04T03:37:31Z"
    },
    {
      "repo": "P4x1s/CVE-2023-33246",
      "url": "https://github.com/P4x1s/CVE-2023-33246",
      "created_at": "2023-06-02T01:41:12Z",
      "first_seen_at": "2026-11-18T16:05:56.708Z",
      "stars": 2,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2014-04-24T00:43:51Z"
    },
    {
      "repo": "liang2kl/iot-exploits",
      "url": "https://github.com/liang2kl/iot-exploits",
      "created_at": "2023-07-05T03:53:10Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 3,
      "is_poc": "unknown",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2019-04-26T13:01:36Z"
    },
    {
      "repo": "Malayke/CVE-2023-37582_EXPLOIT",
      "url": "https://github.com/Malayke/CVE-2023-37582_EXPLOIT",
      "created_at": "2023-07-14T12:22:45Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 47,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-07-04T03:37:31Z"
    },
    {
      "repo": "d0rb/CVE-2023-33246",
      "url": "https://github.com/d0rb/CVE-2023-33246",
      "created_at": "2023-08-11T08:45:29Z",
      "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": "2015-01-05T15:55:08Z"
    },
    {
      "repo": "vulncheck-oss/fetch-broker-conf",
      "url": "https://github.com/vulncheck-oss/fetch-broker-conf",
      "created_at": "2023-09-04T11:18:28Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 5,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2023-05-22T16:04:21Z"
    },
    {
      "repo": "0xKayala/CVE-2023-33246",
      "url": "https://github.com/0xKayala/CVE-2023-33246",
      "created_at": "2023-10-28T07:08:19Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 2,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-01-22T14:05:18Z"
    },
    {
      "repo": "MkJos/CVE-2023-33246_RocketMQ_RCE_EXP",
      "url": "https://github.com/MkJos/CVE-2023-33246_RocketMQ_RCE_EXP",
      "created_at": "2023-12-26T12:41:30Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "no",
      "kind": "writeup",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2023-12-26T12:39:52Z"
    },
    {
      "repo": "Sumitpathania03/Apache-RocketMQ-CVE-2023-33246-",
      "url": "https://github.com/Sumitpathania03/Apache-RocketMQ-CVE-2023-33246-",
      "created_at": "2024-03-28T07:21:09Z",
      "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": "2023-02-22T04:59:50Z"
    },
    {
      "repo": "PavilionQ/CVE-2023-33246-mitigation",
      "url": "https://github.com/PavilionQ/CVE-2023-33246-mitigation",
      "created_at": "2024-06-29T06:31:17Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 1,
      "is_poc": "fake",
      "kind": "fake",
      "suspicion_score": 80,
      "suspicious": true,
      "suspicion_reasons": [
        "README asks to download a release/binary/archive",
        "owner account created less than 7 days before the repo",
        "code never talks to a target"
      ],
      "status": "analyzed",
      "owner_created_at": "2024-06-29T06:18:01Z"
    },
    {
      "repo": "shoucheng3/apache__rocketmq_CVE-2023-33246_5-1-0",
      "url": "https://github.com/shoucheng3/apache__rocketmq_CVE-2023-33246_5-1-0",
      "created_at": "2025-08-17T17:15:33Z",
      "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": "2020-09-18T01:16:05Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "org.apache.rocketmq:rocketmq-broker",
        "ranges": [
          "\u003e= 5.0.0, \u003c 5.1.1"
        ],
        "fixed_in": [
          "5.1.1"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-x3cq-8f32-5f63"
      },
      {
        "vendor": "",
        "product": "org.apache.rocketmq:rocketmq-namesrv",
        "ranges": [
          "\u003e= 4.0.0, \u003c 4.9.6"
        ],
        "fixed_in": [
          "4.9.6"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-x3cq-8f32-5f63"
      },
      {
        "vendor": "",
        "product": "org.apache.rocketmq:rocketmq-controller",
        "ranges": [
          "\u003e= 5.0.0, \u003c 5.1.1"
        ],
        "fixed_in": [
          "5.1.1"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-x3cq-8f32-5f63"
      },
      {
        "vendor": "",
        "product": "org.apache.rocketmq:rocketmq-namesrv",
        "ranges": [
          "\u003e= 5.0.0, \u003c 5.1.1"
        ],
        "fixed_in": [
          "5.1.1"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-x3cq-8f32-5f63"
      }
    ],
    "upgrade": [
      "Upgrade org.apache.rocketmq:rocketmq-broker to 5.1.1 or later.",
      "Upgrade org.apache.rocketmq:rocketmq-namesrv to 4.9.6 or later.",
      "Upgrade org.apache.rocketmq:rocketmq-controller to 5.1.1 or later.",
      "Upgrade org.apache.rocketmq:rocketmq-namesrv to 5.1.1 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/apache_rocketmq_update_config.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Apache RocketMQ update config RCE (exploit/multi/http/apache_rocketmq_update_config)",
      "published_at": "2023-07-05T16:38:51Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2023/CVE-2023-33246.yaml",
      "source": "nuclei",
      "title": "nuclei template: RocketMQ \u003c= 5.1.0 - Remote Code Execution",
      "published_at": "2023-06-01T15:32:58Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/cluster/list.query",
      "protocol": "http",
      "repos": [
        "0xKayala/CVE-2023-33246",
        "Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT",
        "Sumitpathania03/Apache-RocketMQ-CVE-2023-33246-"
      ],
      "repo_count": 3,
      "confidence": 0.7,
      "evidence": [
        "0xKayala/CVE-2023-33246/check.py:54",
        "Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT/check.py:54",
        "Sumitpathania03/Apache-RocketMQ-CVE-2023-33246-/check.py:54"
      ]
    }
  ],
  "rules": []
}
