CVE-2016-3072 Katello SQL Injection vulnerabilities
Authenticated users can execute arbitrary SQL commands via sort parameters in Katello, potentially compromising database integrity and confidentiality.
- 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-2016-3072?
CVE-2016-3072 is a high-severity SQL injection vulnerability in Redhat Satellite, published on 7 Jun 2016. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Multiple SQL injection vulnerabilities in the scoped_search function in app/controllers/katello/api/v2/api_controller.rb in Katello allow remote authenticated users to execute arbitrary SQL commands via the (1) sort_by or (2) sort_order parameter.
Weakness: CWE-89
Which versions are affected by CVE-2016-3072?
2 open source packages ship an affected version, including katello. It affects 2 products.
| Package | Affected | Fixed in |
|---|---|---|
katello RubyGems | All versions | 2.4.3 |
katello RubyGems | All versions | 2.4.3 |
Linux distribution packages (2)
ruby193-rubygem-katello Red Hat:satellite:6.1::el6 | All versions | 0:2.2.0.86-1.el6_6sat |
ruby193-rubygem-katello Red Hat:satellite:6.1::el7 | All versions | 0:2.2.0.86-1.el7sat |
Products include Katello Katello, Redhat Satellite.
How do I fix CVE-2016-3072?
Upgrade katello to 2.4.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-3072 being exploited?
There is no known exploitation of CVE-2016-3072 in the wild and no public exploit code.
Other vulnerabilities in Redhat Satellite
Sources
Also known as GHSA-527r-mfmj-prqf, RHSA-2016:1083.