CVE-2017-12628 Apache James Privilege Escalation
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.james:james-project Maven | All versions | 3.0.1 |
org.apache.james:james-project Maven | All versions | 3.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.
Other vulnerabilities in Apache James
Sources
Also known as GHSA-xj7q-q94c-6wr3.