{"id":"CVE-2023-33246","state":"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 .","publishedAt":"2023-05-24T14:45:25.684Z","updatedAt":"2025-10-21T23:05:47.340Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"apache","products":["Apache Software Foundation Apache RocketMQ"],"affected":[{"vendor":"Apache Software Foundation","product":"Apache RocketMQ","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"5.1.0","versionType":"maven"}]}],"references":["https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp","http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html","http://www.openwall.com/lists/oss-security/2023/07/12/1","https://www.vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247","https://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT","https://github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCE","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:06:00.499Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/33xxx/CVE-2023-33246.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-33246","state":"PUBLISHED","datePublished":"2023-05-24T14:45:25.684Z","dateUpdated":"2025-10-21T23:05:47.340Z","assignerShortName":"apache","assignerOrgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateReserved":"2023-05-21T08:12:11.944Z"},"containers":{"cna":{"title":"Apache RocketMQ: Possible remote code execution vulnerability when using the update configuration function","descriptions":[{"lang":"en","value":"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 ."}],"affected":[{"vendor":"Apache Software Foundation","product":"Apache RocketMQ","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"5.1.0","versionType":"maven"}]}],"references":[{"url":"https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp","tags":["vendor-advisory"]},{"url":"http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html"},{"url":"http://www.openwall.com/lists/oss-security/2023/07/12/1"}],"metrics":[{"other":{"content":{"text":"moderate"},"type":"Textual description of severity"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"apache","orgId":"f0158376-9dc2-43b6-827c-5f631a4d8d09","dateUpdated":"2023-07-12T11:06:20.076Z"},"credits":[{"lang":"en","type":"reporter","value":"lvyyevd@gmail.com"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp","tags":["vendor-advisory","x_transferred"]},{"url":"http://packetstormsecurity.com/files/173339/Apache-RocketMQ-5.1.0-Arbitrary-Code-Injection.html","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2023/07/12/1","tags":["x_transferred"]},{"url":"https://www.vicarius.io/vsociety/posts/rocketmq-rce-cve-2023-33246-33247"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-19T07:48:09.006Z"}},{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Malayke/CVE-2023-33246_RocketMQ_RCE_EXPLOIT","tags":["exploit"]},{"url":"https://github.com/jakabakos/CVE-2023-33246_Apache_RocketMQ_RCE","tags":["exploit"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246","tags":["government-resource"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.8,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"id":"CVE-2023-33246","role":"CISA Coordinator","options":[{"Exploitation":"active"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2025-01-29T20:30:17.989709Z"}}},{"other":{"type":"kev","content":{"dateAdded":"2023-09-06","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-33246"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-21T23:05:47.340Z"},"timeline":[{"time":"2023-09-06T00:00:00.000Z","lang":"en","value":"CVE-2023-33246 added to CISA KEV"}]}]}}}