{"id":"CVE-2023-33246","aliases":["EUVD-2023-2175","GHSA-x3cq-8f32-5f63"],"status":"published","title":"Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function","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 .","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.96568,"percentile":0.99882,"model":"v2026.06.15"},"facts":{"in_kev":true,"known_exploited":true,"public_exploit":true,"fix_available":true},"cwes":["CWE-94"],"published":"2023-05-24T14:45:25Z","modified":"2026-10-28T02:30:42Z","kev":{"date_added":"2023-09-06","due_date":"2023-09-27","required_action":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","known_ransomware_use":"Unknown"},"exploitation":[{"source":"euvd","since":"2023-09-06"},{"source":"kev","since":"2023-09-06"}],"exploits":[{"source":"metasploit","id":"exploit/multi/http/apache_rocketmq_update_config","title":"Apache RocketMQ update config RCE","type":"exploit","platform":"Linux,Unix","date":"2023-05-23","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/multi/http/apache_rocketmq_update_config"},{"source":"pocgithub","id":"I5N0rth/CVE-2023-33246","title":"I5N0rth/CVE-2023-33246","date":"2023-05-30","url":"https://github.com/I5N0rth/CVE-2023-33246"},{"source":"pocgithub","id":"4mazing/CVE-2023-33246-Copy","title":"4mazing/CVE-2023-33246-Copy","date":"2023-05-31","url":"https://github.com/4mazing/CVE-2023-33246-Copy"},{"source":"pocgithub","id":"Le1a/CVE-2023-33246","title":"Le1a/CVE-2023-33246","date":"2023-06-01","url":"https://github.com/Le1a/CVE-2023-33246"},{"source":"pocgithub","id":"Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT","title":"Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT","date":"2023-06-01","url":"https://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT"},{"source":"pocgithub","id":"SuperZero/CVE-2023-33246","title":"SuperZero/CVE-2023-33246","date":"2023-06-01","url":"https://github.com/SuperZero/CVE-2023-33246"},{"source":"pocgithub","id":"P4x1s/CVE-2023-33246","title":"P4x1s/CVE-2023-33246","date":"2023-06-02","url":"https://github.com/P4x1s/CVE-2023-33246"},{"source":"pocgithub","id":"d0rb/CVE-2023-33246","title":"d0rb/CVE-2023-33246","date":"2023-08-11","url":"https://github.com/d0rb/CVE-2023-33246"},{"source":"pocgithub","id":"vulncheck-oss/fetch-broker-conf","title":"vulncheck-oss/fetch-broker-conf","date":"2023-09-04","url":"https://github.com/vulncheck-oss/fetch-broker-conf"},{"source":"pocgithub","id":"0xKayala/CVE-2023-33246","title":"0xKayala/CVE-2023-33246","date":"2023-10-28","url":"https://github.com/0xKayala/CVE-2023-33246"},{"source":"pocgithub","id":"MkJos/CVE-2023-33246_RocketMQ_RCE_EXP","title":"MkJos/CVE-2023-33246_RocketMQ_RCE_EXP","date":"2023-12-26","url":"https://github.com/MkJos/CVE-2023-33246_RocketMQ_RCE_EXP"},{"source":"pocgithub","id":"Sumitpathania03/Apache-RocketMQ-CVE-2023-33246-","title":"Sumitpathania03/Apache-RocketMQ-CVE-2023-33246-","date":"2024-03-28","url":"https://github.com/Sumitpathania03/Apache-RocketMQ-CVE-2023-33246-"},{"source":"pocgithub","id":"PavilionQ/CVE-2023-33246-mitigation","title":"PavilionQ/CVE-2023-33246-mitigation","date":"2024-06-29","url":"https://github.com/PavilionQ/CVE-2023-33246-mitigation"},{"source":"pocgithub","id":"shoucheng3/apache__rocketmq_CVE-2023-33246_5-1-0","title":"shoucheng3/apache__rocketmq_CVE-2023-33246_5-1-0","date":"2025-08-17","url":"https://github.com/shoucheng3/apache__rocketmq_CVE-2023-33246_5-1-0"},{"source":"nuclei","id":"CVE-2023-33246","title":"RocketMQ \u003c= 5.1.0 - Remote Code Execution","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2023/CVE-2023-33246.yaml"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-broker","fixed_in":["5.1.1"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-namesrv","fixed_in":["4.9.6","5.1.1"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-controller","fixed_in":["5.1.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-broker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.1"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-namesrv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.9.6"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-controller","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.1"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-namesrv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-broker","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.1"}]}],"versions":["5.0.0","5.0.0-PREVIEW","5.1.0"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-namesrv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.9.6"}]}],"versions":["4.0.0-incubating","4.1.0-incubating","4.2.0","4.3.0","4.3.1","4.3.2","4.4.0","4.5.0","4.5.1","4.5.2","4.6.0","4.6.1","4.7.0","4.7.1","4.8.0","4.9.0","4.9.1","4.9.2","4.9.3","4.9.4","4.9.5"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-controller","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.1"}]}],"versions":["5.0.0","5.1.0"]},{"source":"osv","ecosystem":"Maven","package":"org.apache.rocketmq:rocketmq-namesrv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.1.1"}]}],"versions":["5.0.0","5.0.0-PREVIEW","5.1.0"]}],"products":[{"vendor":"apache","product":"rocketmq"},{"vendor":"apache software foundation","product":"apache rocketmq"}],"references":[{"url":"https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp","tags":["vendor-advisory","x_transferred","Mailing List","Vendor Advisory","advisory","web"]},{"url":"http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html","tags":["x_transferred","Exploit","Third Party Advisory","VDB Entry","web"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/12/1","tags":["x_transferred","Mailing List","Third Party Advisory","web"]},{"url":"https://www.vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT","tags":["exploit","Exploit","evidence","web"]},{"url":"https://github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCE","tags":["exploit","Exploit","evidence","web"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246","tags":["government-resource","Third Party Advisory","US Government Resource","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-33246","tags":["advisory"]},{"url":"https://github.com/apache/rocketmq/commit/9d411cf04a695e7a3f41036e8377b0aa544d754d","tags":["web"]},{"url":"https://github.com/apache/rocketmq/commit/c3ada731405c5990c36bf58d50b3e61965300703","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x3cq-8f32-5f63"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/33xxx/CVE-2023-33246.json","tags":["advisory"]},{"url":"https://github.com/apache/rocketmq","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2023-33246","title":"Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function","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 .","status":"published","published":"2023-05-24T14:45:25.684Z","modified":"2025-10-21T23:05:47.34Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:35:34.55015Z"}],"euvd":[{"id":"EUVD-2023-2175","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 .","status":"published","published":"2023-05-24T14:45:25Z","modified":"2025-10-21T23:05:47Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"exploited_since":"2023-09-06","updated_at":"2026-11-02T20:31:27.312976Z"}],"ghsa":[{"id":"GHSA-x3cq-8f32-5f63","title":"Apache RocketMQ may have remote code execution vulnerability when using update configuration function","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 .","status":"published","published":"2023-07-06T21:15:04Z","modified":"2025-10-22T19:21:24Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:39:02.474737Z"}],"kev":[{"id":"CVE-2023-33246","title":"Apache RocketMQ Command Execution Vulnerability","description":"Several components of Apache RocketMQ, including NameServer, Broker, and Controller, are exposed to 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 or achieve the same effect by forging the RocketMQ protocol content.","cwes":["CWE-94"],"kev":{"date_added":"2023-09-06","due_date":"2023-09-27","required_action":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","known_ransomware_use":"Unknown"},"updated_at":"2026-11-02T17:00:16.234141Z"}],"nvd":[{"id":"CVE-2023-33246","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 .","status":"published","published":"2023-05-24T15:15:09.553Z","modified":"2026-06-17T06:01:24.16Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:08:03.200773Z"}],"osv":[{"id":"CVE-2023-33246","title":"Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function","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 .","status":"published","published":"2023-05-24T14:45:25.684Z","modified":"2026-10-28T02:30:42.936799933Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:44:32.116263Z"},{"id":"GHSA-x3cq-8f32-5f63","title":"Apache RocketMQ may have remote code execution vulnerability when using update configuration function","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 .","status":"published","published":"2023-07-06T21:15:04Z","modified":"2025-10-22T19:24:49.375145Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H","level":"critical"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:59.484835Z"}]}}
