CVE-2016-2174 SQL injection vulnerability in the policy admin tool in Apache Ranger

High 7.2 Published Updated

Remote authenticated administrators can execute arbitrary SQL commands via the eventTime parameter in the Apache Ranger policy admin tool.

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

What is CVE-2016-2174?

CVE-2016-2174 is a high-severity SQL injection vulnerability in n/a, published on 13 Jun 2016. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

SQL injection vulnerability in the policy admin tool in Apache Ranger before 0.5.3 allows remote authenticated administrators to execute arbitrary SQL commands via the eventTime parameter to service/plugins/policies/eventTime.

Weakness: CWE-89

Which versions are affected by CVE-2016-2174?

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

PackageAffectedFixed in
org.apache.ranger:ranger MavenAll versions0.5.3
org.apache.ranger:ranger MavenAll versions0.5.3

Products include Apache Ranger.

How do I fix CVE-2016-2174?

Upgrade org.apache.ranger:ranger to 0.5.3 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2016-2174 being exploited?

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

Sources

Also known as GHSA-4rjf-mxfm-98h5.

Is CVE-2016-2174 in your software?

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

Check your SBOMs for free