{"schemaVersion":3,"id":"CVE-2022-41678","aliases":["UBUNTU-CVE-2022-41678","DEBIAN-CVE-2022-41678","GHSA-53v4-42fg-g287","BIT-activemq-2022-41678"],"status":"published","duplicateOf":null,"title":null,"description":"Once an user is authenticated on Jolokia, he can potentially trigger arbitrary code execution.\n\nIn details, in ActiveMQ configurations, jetty allows\norg.jolokia.http.AgentServlet to handler request to /api/jolokia\n\norg.jolokia.http.HttpRequestHandler#handlePostRequest is able to\ncreate JmxRequest through JSONObject. And calls to\norg.jolokia.http.HttpRequestHandler#executeRequest.\n\nInto deeper calling stacks,\norg.jolokia.handler.ExecHandler#doHandleRequest can be invoked\nthrough refection. This could lead to RCE through via\nvarious mbeans. One example is unrestricted deserialization in jdk.management.jfr.FlightRecorderMXBeanImpl which exists on Java version above 11.\n\n1 Call newRecording.\n\n2 Call setConfiguration. And a webshell data hides in it.\n\n3 Call startRecording.\n\n4 Call copyTo method. The webshell will be written to a .jsp file.\n\nThe mitigation is to restrict (by default) the actions authorized on Jolokia, or disable Jolokia.\nA more restrictive Jolokia configuration has been defined in default ActiveMQ distribution. We encourage users to upgrade to ActiveMQ distributions version including updated Jolokia configuration: 5.16.6, 5.17.4, 5.18.0, 6.0.0.","dates":{"published":"2023-11-28T15:08:38.338Z","modified":"2025-11-03T21:46:33.574Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Maven","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.8581,"percentile":0.99728,"severity":"critical","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.8581},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.8581,"percentile":0.99728}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.8581,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.8581,"percentile":0.99728}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"apache software foundation","product":"apache activemq","name":"Apache ActiveMQ","label":"apache activemq","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.16.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.17.0, < 5.17.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.16.6 | ≥ 5.17.0, < 5.17.4","eol":null,"hubHref":"/vendor/apache_software_foundation/apache_activemq"},{"vendor":"apache","product":"activemq","name":"ActiveMQ","label":"activemq","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.16.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.17.0, < 5.17.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.16.6 | ≥ 5.17.0, < 5.17.4","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"apache-activemq","label":"Apache ActiveMQ Classic","category":"server-app"}},"hubHref":"/vendor/apache/activemq"},{"vendor":"debian","product":"activemq","name":"activemq","label":"activemq","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/activemq","purlType":"deb","versions":[{"text":"< 5.17.2+dfsg-2+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.17.6+dfsg-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.17.2+dfsg-2+deb12u1 | < 5.17.6+dfsg-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"activemq","name":"activemq","label":"activemq","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/activemq","purlType":"deb","versions":[{"text":"< 5.13.2+dfsg-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.15.8-2~18.04.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.15.11-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.16.1-1ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.13.2+dfsg-2ubuntu0.1~esm1 | < 5.15.8-2~18.04.1~esm1 | < 5.15.11-1ubuntu0.1~esm1 | < 5.16.1-1ubuntu0.1","eol":null,"hubHref":null},{"vendor":"org.apache.activemq","product":"apache-activemq","name":"org.apache.activemq:apache-activemq","label":"apache-activemq","ecosystem":"Maven","cpePart":null,"purl":"pkg:maven/org.apache.activemq/apache-activemq","purlType":"maven","versions":[{"text":"< 5.16.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 5.17.0, < 5.17.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.16.6 | ≥ 5.17.0, < 5.17.4","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://activemq.apache.org/security-advisories.data/CVE-2022-41678-announcement.txt","label":"activemq.apache.org/security-advisories.data/CVE-2022-41678-announcement.txt","hostname":"activemq.apache.org","tags":["Vendor Advisory","REPORT","WEB"]},{"url":"https://lists.apache.org/thread/7g17kwbtjl011mm4tr8bn1vnoq9wh4sl","label":"lists.apache.org/thread/7g17kwbtjl011mm4tr8bn1vnoq9wh4sl","hostname":"lists.apache.org","tags":["Vendor Advisory","REPORT","WEB","Mailing List"]},{"url":"https://www.openwall.com/lists/oss-security/2023/11/28/1","label":"www.openwall.com/lists/oss-security/2023/11/28/1","hostname":"www.openwall.com","tags":["WEB"]},{"url":"https://security.netapp.com/advisory/ntap-20240216-0004/","label":"security.netapp.com/advisory/ntap-20240216-0004/","hostname":"security.netapp.com","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00027.html","label":"lists.debian.org/debian-lts-announce/2024/10/msg00027.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-41678","label":"ubuntu.com/security/CVE-2022-41678","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-41678","label":"www.cve.org/CVERecord?id=CVE-2022-41678","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6910-1","label":"ubuntu.com/security/notices/USN-6910-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-7268-1","label":"ubuntu.com/security/notices/USN-7268-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-41678","label":"security-tracker.debian.org/tracker/CVE-2022-41678","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41678","label":"nvd.nist.gov/vuln/detail/CVE-2022-41678","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/apache/activemq/pull/958","label":"github.com/apache/activemq/pull/958","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/activemq/commit/5c8d457d9","label":"github.com/apache/activemq/commit/5c8d457d9","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/activemq/commit/6120169e563b55323352431dfe9ac67a8b4de6c2","label":"github.com/apache/activemq/commit/6120169e563b55323352431dfe9ac67a8b4de6c2","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/activemq/commit/bf65929fd","label":"github.com/apache/activemq/commit/bf65929fd","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/activemq/commit/d8ce1d9ff","label":"github.com/apache/activemq/commit/d8ce1d9ff","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/apache/activemq","label":"github.com/apache/activemq","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://security.netapp.com/advisory/ntap-20240216-0004","label":"security.netapp.com/advisory/ntap-20240216-0004","hostname":"security.netapp.com","tags":["WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2023/11/28/1","label":"www.openwall.com/lists/oss-security/2023/11/28/1","hostname":"www.openwall.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["DLA-3936-1","DSA-5798-1","USN-6910-1","USN-7268-1"],"duplicates":[],"related":["USN-6910-1","USN-7268-1"]},"timeline":[{"kind":"published","date":"2023-11-28T15:08:38.338Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T21:46:33.574Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":52,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T09:35:03.691Z","stale":false,"partial":false}}