CVE-2023-51518: Apache James server: Privilege escalation via JMX pre-authentication deserialisation

Published Feb 26, 2024
·
Updated

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 Software

4 affected componentsFixes available
maven/org.apache.james:james-server>=3.8.0<3.8.1
3.8.1
maven/org.apache.james:james-server<=3.7.4
3.7.5
Apache James=3.7.5
Apache James=3.8.0

Event History

Feb 27, 2024
CVE Published
via MITRE·09:09 AM
Data Sourced
via MITRE·09:09 AM
DescriptionWeakness
Data Sourced
via NVD·09:15 AM
DescriptionSeverityWeakness
Advisory Published
via GitHub·09:31 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-51518?

CVE-2023-51518 is classified as a medium severity vulnerability due to the potential for privilege escalation through deserialization issues.

2

How do I fix CVE-2023-51518?

To fix CVE-2023-51518, upgrade Apache James to version 3.8.1 or 3.7.5.

3

What versions of Apache James are affected by CVE-2023-51518?

Apache James versions prior to 3.7.5 and 3.8.0 are affected by CVE-2023-51518.

4

What type of attack does CVE-2023-51518 facilitate?

CVE-2023-51518 can facilitate privilege escalation attacks through the exploitation of a JMX endpoint vulnerability.

5

Is the JMX endpoint exposed to external access in CVE-2023-51518?

The JMX endpoint affected by CVE-2023-51518 is exposed on localhost, limiting access primarily to local attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203