CVE-2015-5254 Improper Input Validation in Apache ActiveMQ

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code by sending crafted serialized JMS ObjectMessage objects to the Apache ActiveMQ broker.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-5254?

CVE-2015-5254 is a critical unsafe deserialization vulnerability in Apache Activemq, published on 8 Jan 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache ActiveMQ 5.x before 5.13.0 does not restrict the classes that can be serialized in the broker, which allows remote attackers to execute arbitrary code via a crafted serialized Java Message Service (JMS) ObjectMessage object.

Weakness: CWE-20

Which versions are affected by CVE-2015-5254?

4 open source packages ship an affected version, including org.apache.activemq:activemq-client. It affects 3 products.

PackageAffectedFixed in
org.apache.activemq:activemq-client MavenFrom 5.0.05.11.3
org.apache.activemq:activemq-client MavenFrom 5.0.05.11.3
org.apache.activemq:activemq-client MavenFrom 5.12.05.12.2
org.apache.activemq:activemq-client MavenFrom 5.12.05.12.2

Products include Apache Activemq, Fedoraproject Fedora, Redhat Openshift.

How do I fix CVE-2015-5254?

Upgrade org.apache.activemq:activemq-client to a fixed version for your release line: 5.11.3 or 5.12.2.

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

Is CVE-2015-5254 being exploited?

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

Public exploit code: 5 proofs of concept on GitHub.

All Apache Activemq vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-5254, DSA-3524-1, GHSA-q9hr-3pg4-3jp4, UBUNTU-CVE-2015-5254.

Is CVE-2015-5254 in your software?

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

Check your SBOMs for free