CVE-2017-12628 Apache James Privilege Escalation

High 7.8 Published Updated

A deserialization flaw in Apache James JMX server allows local attackers to execute arbitrary commands and escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-12628?

CVE-2017-12628 is a high-severity unsafe deserialization vulnerability in Apache James, published on 20 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The JMX server embedded in Apache James, also used by the command line client is exposed to a java de-serialization issue, and thus can be used to execute arbitrary commands. As James exposes JMX socket by default only on local-host, this vulnerability can only be used for privilege escalation. Release 3.0.1 upgrades the incriminated library.

Weakness: CWE-502

Which versions are affected by CVE-2017-12628?

2 open source packages ship an affected version, including org.apache.james:james-project. It affects 1 product.

PackageAffectedFixed in
org.apache.james:james-project MavenAll versions3.0.1
org.apache.james:james-project MavenAll versions3.0.1

Products include Apache James Server.

How do I fix CVE-2017-12628?

Upgrade org.apache.james:james-project to 3.0.1 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2017-12628 being exploited?

There is no known exploitation of CVE-2017-12628 in the wild and no public exploit code.

Sources

Also known as GHSA-xj7q-q94c-6wr3.

Is CVE-2017-12628 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free