CVE-2018-14623 katello SQL Injection vulnerability

Medium 4.3 Published Updated

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.

Weakness: CWE-89, CWE-209

Which versions are affected by CVE-2018-14623?

2 open source packages ship an affected version, including katello. It affects 1 product.

PackageAffectedFixed in
katello RubyGemsAll versions to 3.10None
katello RubyGemsAll versions to 3.10None

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.

Sources

Also known as GHSA-jx5v-788g-qw58.

Is CVE-2018-14623 in your software?

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

Check your SBOMs for free