CVE-2013-4386 SQL injection in n/a

High 7.5 Published Updated

Remote attackers can execute arbitrary SQL commands via fqdn or hostgroup parameters in Foreman, 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-2013-4386?

CVE-2013-4386 is a high-severity SQL injection vulnerability in Redhat Openstack, published on 19 Nov 2013. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Multiple SQL injection vulnerabilities in app/models/concerns/host_common.rb in Foreman before 1.2.3 allow remote attackers to execute arbitrary SQL commands via the (1) fqdn or (2) hostgroup parameter.

Weakness: CWE-89

Which versions are affected by CVE-2013-4386?

It affects 2 products.

Linux distribution packages (2)
ruby193-foreman Red Hat:openstack:3::el6All versions0:1.1.10014-1.3.el6ost
ruby193-foreman-mysql Red Hat:openstack:3::el6All versions0:1.1.10014-1.3.el6ost

Products include Redhat Openstack, Theforeman Foreman.

How do I fix CVE-2013-4386?

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-2013-4386 being exploited?

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

All Redhat Openstack vulnerabilities

Sources

Also known as GHSA-28hw-8f4m-6fxw, RHSA-2013:1522.

Is CVE-2013-4386 in your software?

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

Check your SBOMs for free