CVE-2018-1096 SQL injection in Foreman

Medium 6.5 Published Updated

An attacker can perform SQL injection via the dashboard controller's id field, potentially reading or modifying backend database data.

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-1096?

CVE-2018-1096 is a medium-severity SQL injection vulnerability in Redhat Satellite, published on 5 Apr 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An input sanitization flaw was found in the id field in the dashboard controller of Foreman before 1.16.1. A user could use this flaw to perform an SQL injection attack on the back end database.

Weakness: CWE-89

Which versions are affected by CVE-2018-1096?

It affects 2 products.

Products include Redhat Satellite, Theforeman Foreman.

How do I fix CVE-2018-1096?

Upgrade to a fixed version.

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-1096 being exploited?

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

All Redhat Satellite vulnerabilities

Sources

Also known as GHSA-q2gj-47jq-58pr.

Is CVE-2018-1096 in your software?

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

Check your SBOMs for free