CVE-2016-8746 Apache Ranger policy engine incorrectly matches paths in certain conditions

Medium 5.9 Published Updated

Attackers can bypass security policies in Apache Ranger when specific recursion settings are enabled, potentially gaining unauthorized access to resources.

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

What is CVE-2016-8746?

CVE-2016-8746 is a medium-severity missing authorization vulnerability in Apache Ranger, published on 14 Jun 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Apache Ranger before 0.6.3 policy engine incorrectly matches paths in certain conditions when policy does not contain wildcards and has recursion flag set to true.

Weakness: CWE-426

Which versions are affected by CVE-2016-8746?

2 open source packages ship an affected version, including org.apache.ranger:ranger-plugins-common. It affects 1 product.

PackageAffectedFixed in
org.apache.ranger:ranger-plugins-common MavenAll versions0.6.3
org.apache.ranger:ranger-plugins-common MavenAll versions0.6.3

Products include Apache Ranger.

How do I fix CVE-2016-8746?

Upgrade org.apache.ranger:ranger-plugins-common to 0.6.3 or later.

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

Is CVE-2016-8746 being exploited?

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

Sources

Also known as GHSA-xv7x-x6wr-xx7g.

Is CVE-2016-8746 in your software?

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

Check your SBOMs for free