CVE-2021-27738 Improper Access Control to Streaming Coordinator & SSRF

High 7.5 Published Updated

Unauthenticated attackers can access streaming coordinator endpoints to modify cube assignments and replica sets, potentially enabling limited SSRF.

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

What is CVE-2021-27738?

CVE-2021-27738 is a high-severity missing authorization vulnerability in Apache Kylin, published on 6 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All request mappings in `StreamingCoordinatorController.java` handling `/kylin/api/streaming_coordinator/*` REST API endpoints did not include any security checks, which allowed an unauthenticated user to issue arbitrary requests, such as assigning/unassigning of streaming cubes, creation/modification and deletion of replica sets, to the Kylin Coordinator. For endpoints accepting node details in HTTP message body, unauthenticated (but limited) server-side request forgery (SSRF) can be achieved. This issue affects Apache Kylin Apache Kylin 3 versions prior to 3.1.2.

Weakness: CWE-918

Which versions are affected by CVE-2021-27738?

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

PackageAffectedFixed in
org.apache.kylin:kylin MavenAll versions3.1.3
org.apache.kylin:kylin MavenAll versions3.1.3

Products include Apache Kylin.

How do I fix CVE-2021-27738?

Upgrade org.apache.kylin:kylin to 3.1.3 or later.

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

Is CVE-2021-27738 being exploited?

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

Sources

Also known as GHSA-wrx7-qgmj-mf2q.

Is CVE-2021-27738 in your software?

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

Check your SBOMs for free