CVE-2018-1288 Improper Control of Generation of Code in Apache Kafka

Medium 5.4 Published Updated

Authenticated users can perform broker-reserved actions via manual fetch requests, causing data loss and replication issues in Apache Kafka.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1288?

CVE-2018-1288 is a medium-severity missing authorization vulnerability in Oracle Database, published on 26 Jul 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Apache Kafka 0.9.0.0 to 0.9.0.1, 0.10.0.0 to 0.10.2.1, 0.11.0.0 to 0.11.0.2, and 1.0.0, authenticated Kafka users may perform action reserved for the Broker via a manually created fetch request interfering with data replication, resulting in data loss.

Which versions are affected by CVE-2018-1288?

6 open source packages ship an affected version, including org.apache.kafka:kafka. It affects 5 products.

PackageAffectedFixed in
org.apache.kafka:kafka MavenFrom 0.11.0.00.11.0.3
org.apache.kafka:kafka MavenFrom 0.11.0.00.11.0.3
org.apache.kafka:kafka MavenFrom 0.9.0.00.10.2.2
org.apache.kafka:kafka MavenFrom 0.9.0.00.10.2.2
org.apache.kafka:kafka MavenFrom 1.0.01.0.1
org.apache.kafka:kafka MavenFrom 1.0.01.0.1
Linux distribution packages (10)
ardana-monasca SUSE:HPE Helion OpenStack 8All versions8.0+git.1535031421.9262a47-3.12.1
ardana-spark SUSE:HPE Helion OpenStack 8All versions8.0+git.1534267176.a5f3a22-3.6.1
kafka SUSE:HPE Helion OpenStack 8All versions0.10.2.2-5.6.1
openstack-monasca-api SUSE:HPE Helion OpenStack 8All versions2.2.1~dev24-3.6.1
ardana-monasca SUSE:OpenStack Cloud 8All versions8.0+git.1535031421.9262a47-3.12.1
ardana-spark SUSE:OpenStack Cloud 8All versions8.0+git.1534267176.a5f3a22-3.6.1
kafka SUSE:OpenStack Cloud 8All versions0.10.2.2-5.6.1
openstack-monasca-api SUSE:OpenStack Cloud 8All versions2.2.1~dev24-3.6.1
kafka SUSE:OpenStack Cloud Crowbar 8All versions0.10.2.2-5.6.1
openstack-monasca-api SUSE:OpenStack Cloud Crowbar 8All versions2.2.1~dev24-3.6.1

Products include Apache Kafka, Oracle Database, Oracle Primavera P6 Enterprise Project Portfolio Management, Oracle Timesten In-Memory Database, Redhat Jboss Middleware Text-Only Advisories.

How do I fix CVE-2018-1288?

Upgrade org.apache.kafka:kafka to a fixed version for your release line: 0.11.0.3, 0.10.2.2 or 1.0.1.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2018-1288 being exploited?

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

All Oracle Database vulnerabilities

Sources

Also known as GHSA-gh27-38p5-mrxc, SUSE-SU-2018:3563-1.

Is CVE-2018-1288 in your software?

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

Check your SBOMs for free