CVE-2018-14623 katello SQL Injection vulnerability
An authenticated attacker can exploit a SQL injection flaw in Katello's errata API to leak internal database IDs.
- 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-2018-14623?
CVE-2018-14623 is a medium-severity SQL injection vulnerability in The Foreman Project katello, published on 13 Dec 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A SQL injection flaw was found in katello's errata-related API. An authenticated remote attacker can craft input data to force a malformed SQL query to the backend database, which will leak internal IDs. This is issue is related to an incomplete fix for CVE-2016-3072. Version 3.10 and older is vulnerable.
Which versions are affected by CVE-2018-14623?
2 open source packages ship an affected version, including katello. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
katello RubyGems | All versions to 3.10 | None |
katello RubyGems | All versions to 3.10 | None |
Products include Theforeman Katello.
How do I fix CVE-2018-14623?
Apply the vendor's patch.
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-2018-14623 being exploited?
There is no known exploitation of CVE-2018-14623 in the wild and no public exploit code.
Other vulnerabilities in The Foreman Project katello
Sources
Also known as GHSA-jx5v-788g-qw58.