{"id":"CVE-2023-51518","published":"2024-02-27T09:09:31Z","modified":"2024-08-22T20:42:38Z","title":"Apache James server: Privilege escalation via JMX pre-authentication deserialisation","vendor":"Apache","product":"Apache James server","tier":"tail","description":{"text":"Apache James prior to version 3.7.5 and 3.8.0 exposes a JMX endpoint on localhost subject to pre-authentication deserialisation of untrusted data.\nGiven a deserialisation gadjet, this could be leveraged as part of an exploit chain that could result in privilege escalation.\nNote that by default JMX endpoint is only bound locally.\n\nWe recommend users to:\n - Upgrade to a non-vulnerable Apache James version\n\n - Run Apache James isolated from other processes (docker - dedicated virtual machine)\n - If possible turn off JMX\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01189,"percentile":0.68692,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://lists.apache.org/thread/wbdm61ch6l0kzjn6nnfmyqlng82qz0or","tags":["vendor-advisory"]}],"priority":{"score":25.6,"factors":[{"name":"EPSS percentile","points":13.74},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2024-06-03","earliestUrl":"https://github.com/mbadanoiu/CVE-2023-51518","repos":[{"name":"mbadanoiu/CVE-2023-51518","url":"https://github.com/mbadanoiu/CVE-2023-51518","stars":1,"created":"2024-06-03"}]},"first":{"date":"2024-06-03","source":"PoC-in-GitHub","url":"https://github.com/mbadanoiu/CVE-2023-51518"},"provenance":"source"},"vendorSlug":"apache","affectedVersions":[{"vendor":"Apache Software Foundation","product":"Apache James server","versions":["<= 3.7.4",">= 3.8, <= 3.8.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-22T20:42:32.574252Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.apache.james:james-server","vulnerableRanges":["<3.7.5",">=3.8.0, <3.8.1"],"patched":["3.7.5","3.8.1"],"from":["GHSA-px7w-c9gw-7gj3"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-0689","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-40525","published":"2022-01-04","fixed":"3.6.1","kev":false},{"cve":"CVE-2022-22931","published":"2022-02-07","fixed":"3.6.2","kev":false},{"cve":"CVE-2022-28220","published":"2022-09-08","fixed":"3.7.1","kev":false,"link":{"from":"CVE-2022-28220","to":"CVE-2023-51518","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.apache.james:james-server","fromFixed":"3.7.1","toFixed":"3.7.5","daysApart":537}]}},{"cve":"CVE-2023-51518","published":"2024-02-27","fixed":"3.8.1","kev":false},{"cve":"CVE-2023-51747","published":"2024-02-27","fixed":"3.8.1","kev":false}],"package":"Maven:org.apache.james:james-server"}}