9.8critical
Apache James server: Privilege escalation via JMX pre-authentication deserialisation
- Severity
- 9.8critical CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 1.19% (higher than 68% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-px7w-c9gw-7gj3
Description
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. Given a deserialisation gadjet, this could be leveraged as part of an exploit chain that could result in privilege escalation. Note that by default JMX endpoint is only bound locally. We recommend users to: - Upgrade to a non-vulnerable Apache James version - Run Apache James isolated from other processes (docker - dedicated virtual machine) - If possible turn off JMX
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache James server | up to 3.7.4, from 3.8 up to 3.8.0 | CVE List |
| apache james_server | up to 3.7.4, 3.8 | CVE List |
| org.apache.james:james-server (Maven) | before 3.7.5, from 3.8.0 before 3.8.1 | GitHub Advisory Database |
| apache james | 3.7.5, 3.8.0 | NVD |
All scores
| CISA-ADP | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
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. Given a deserialisation gadjet, this could be leveraged as part of an exploit chain that could result in privilege escalation. Note that by default JMX endpoint is only bound locally. We recommend users to: - Upgrade to a non-vulnerable Apache James version - Run Apache James isolated from other processes (docker - dedicated virtual machine) - If possible turn off JMX
NVD (es)
Apache James anterior a las versiones 3.7.5 y 3.8.0 expone un endpoint JMX en localhost sujeto a deserialización previa a la autenticación de datos que no son de confianza. Dado un dispositivo de deserialización, esto podría aprovecharse como parte de una cadena de explotación que podría resultar en una escalada de privilegios. Tenga en cuenta que, de forma predeterminada, el endpoint JMX solo está vinculado localmente. Recomendamos a los usuarios: - Actualizar a una versión de Apache James no vulnerable - Ejecutar Apache James aislado de otros procesos (docker - máquina virtual dedicada) - Si es posible, desactive JMX
References
| https://lists.apache.org/thread/wbdm61ch6l0kzjn6nnfmyqlng82qz0or | mailing-list, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-51518 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-51518 changed 2024-08-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-px7w-c9gw-7gj3 changed 2024-08-23 | CC-BY-4.0 |
| NVD | CVE-2023-51518 changed 2026-06-17 | Public domain |