CVE-2016-2174 SQL injection vulnerability in the policy admin tool in Apache Ranger
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.ranger:ranger Maven | All versions | 0.5.3 |
org.apache.ranger:ranger Maven | All versions | 0.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.
Other vulnerabilities in n/a
- CVE-2026-28672 Apache Ranger: OS Command Injection via Username in UnixUserGroupBuilder
- CVE-2026-32227 Apache Ranger: SQL Injection vulnerability in lookup functionality
- CVE-2026-40920 Apache Ranger: Privilege Escalation via URL Parameter
- CVE-2026-42537 Apache Ranger: Remote Code Execution via JDBC URL Injection
- CVE-2026-44416 Apache Ranger: Remote Code Execution via Arbitrary Class Instantiation
Sources
Also known as GHSA-4rjf-mxfm-98h5.