{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-33246","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 runnin","descriptionLong":"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 .","published":"2023-05-24T14:45:25.684Z","updated":"2026-10-28T02:30:42.936799933Z","reserved":"2023-05-21T08:12:11.944Z","status":"Analyzed","rejected":false,"assigner":"apache","metric":{"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","rating":"critical","source":"NVD"},"metrics":[{"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","rating":"critical","source":"NVD"},{"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","rating":"critical","source":"CISA-ADP"},{"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","rating":"critical","source":"OSV"},{"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","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Apache Software Foundation Apache RocketMQ"],"affectedProducts":[{"vendor":"Apache Software Foundation","product":"Apache RocketMQ","defaultStatus":"unaffected","versions":[{"lessThanOrEqual":"5.1.0","status":"affected","version":"0","versionType":"maven"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.apache.rocketmq:rocketmq-broker","purl":"pkg:maven/org.apache.rocketmq/rocketmq-broker","ranges":[">=5.0.0 <5.1.1"],"fixed":["5.1.1"],"advisory":"GHSA-x3cq-8f32-5f63"},{"ecosystem":"Maven","name":"org.apache.rocketmq:rocketmq-namesrv","purl":"pkg:maven/org.apache.rocketmq/rocketmq-namesrv","ranges":[">=4.0.0 <4.9.6",">=5.0.0 <5.1.1"],"fixed":["4.9.6","5.1.1"],"advisory":"GHSA-x3cq-8f32-5f63"},{"ecosystem":"Maven","name":"org.apache.rocketmq:rocketmq-controller","purl":"pkg:maven/org.apache.rocketmq/rocketmq-controller","ranges":[">=5.0.0 <5.1.1"],"fixed":["5.1.1"],"advisory":"GHSA-x3cq-8f32-5f63"}],"cwes":["CWE-94"],"aliases":["GHSA-x3cq-8f32-5f63"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2023/33xxx/CVE-2023-33246.json","tags":["advisory"]},{"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/apache/rocketmq","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":true,"kevAdded":"2023-09-06","kevDue":"2023-09-27","kevEntry":{"cveID":"CVE-2023-33246","vendorProject":"Apache","product":"RocketMQ","vulnerabilityName":"Apache RocketMQ Command Execution Vulnerability","dateAdded":"2023-09-06","shortDescription":"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.","requiredAction":"Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.","dueDate":"2023-09-27","knownRansomwareCampaignUse":"Unknown","notes":"https://lists.apache.org/thread/1s8j2c8kogthtpv3060yddk03zq0pxyp;  https://nvd.nist.gov/vuln/detail/CVE-2023-33246","cwes":["CWE-94"]},"ssvc":{"exploitation":"active","automatable":"yes","technicalImpact":"total"},"epss":0.96568,"epssPercentile":0.99883,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-33246","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-33246","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-33246","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-x3cq-8f32-5f63","ok":true,"note":"GHSA-x3cq-8f32-5f63"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"added 2023-09-06"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-33246","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":["Exploited in the wild (CISA KEV)","EPSS 97% with CVSS 9.8"],"attention":null}