CVE-2012-5648 SQL injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary SQL commands in Foreman via search parameters, potentially compromising database integrity and confidentiality.

Exploited in the wild
Not known
Login needed
Not stated
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2012-5648?

CVE-2012-5648 is a high-severity SQL injection vulnerability in Theforeman Foreman, published on 4 Apr 2014. It can be exploited over the network, with no action from the victim.

Official description

Multiple SQL injection vulnerabilities in Foreman before 1.0.2 allow remote attackers to execute arbitrary SQL commands via unspecified parameters to (1) app/models/hostext/search.rb or (2) app/models/puppetclass.rb, related to the search mechanism.

Weakness: CWE-89

Which versions are affected by CVE-2012-5648?

It affects 1 product.

Products include Theforeman Foreman.

How do I fix CVE-2012-5648?

No fix has been published for CVE-2012-5648 yet. Limit exposure of the affected software until one is available.

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-2012-5648 being exploited?

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

All Theforeman Foreman vulnerabilities

Sources

Also known as GHSA-54mh-x596-rpcq.

Is CVE-2012-5648 in your software?

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

Check your SBOMs for free