Loading...
Skip to main content

CVE-2023-51518 — Vulnerability in org.apache.james:james-server —...

CRITICAL

Apache James server: Privilege escalation via JMX pre-authentication deserialization

Published February 27, 2024Updated August 23, 2024Source: osv

Summary

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

Advisory Timeline

  • First published February 27, 2024 (958 days ago).
  • Last revised August 23, 2024 — 178 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.james:james-server to 3.8.1 or later
<!-- Update pom.xml dependency version to 3.8.1 for org.apache.james:james-server -->
Maven
Update org.apache.james:james-server to 3.7.5 or later
<!-- Update pom.xml dependency version to 3.7.5 for org.apache.james:james-server -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.james:james-server
maven
3.8.03.8.1
org.apache.james:james-server
maven
3.0-M1, 3.0-M2, 3.0-beta2, 3.0-beta3 (+17 more)3.7.5

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-51518?
Apache James server: Privilege escalation via JMX pre-authentication deserialization This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2023-51518?
CVE-2023-51518 affects org.apache.james:james-server. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-51518 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-px7w-c9gw-7gj3

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies