CVE-2013-4386: SQL Injection

Published Sep 27, 2013
·
Updated

Dominic Cleal of Red Hat reported an SQL injection vulnerability in Foreman.

Host and host group parameter overrides (lookupvalues) use a hand-crafted SQL query to associate the host/host group to the lookupvalue object, as it searches for lookupvalues with the "fqdn=foo.example.com" or "hostgroup=Foo" syntaxes. The association calls a method on the host or host group for the matcher string, then puts the response straight into SQL query. By changing the host's FQDN or the host group's label, arbitrary SQL can be injected.

External references: http://projects.theforeman.org/issues/3160)

Other sources

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

— MITRE

Affected Software

6 affected components
redhat Openstack=3.0
theforeman foreman<=1.2.2
theforeman foreman=1.2.0
theforeman foreman=1.2.0-rc1
theforeman foreman=1.2.0-rc2
theforeman foreman=1.2.1

Event History

Sep 27, 2013
Data Sourced
via Red Hat·07:26 PM
DescriptionSeverityAffected Software
Nov 19, 2013
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
Nov 20, 2013
Data Sourced
02:12 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2013-4386?

CVE-2013-4386 is classified as a high severity vulnerability due to its potential for SQL injection attacks.

2

How do I fix CVE-2013-4386?

To fix CVE-2013-4386, you should upgrade to Foreman version 1.2.3 or later.

3

What vulnerabilities does CVE-2013-4386 exploit?

CVE-2013-4386 exploits multiple SQL injection vulnerabilities via the fqdn or hostgroup parameters.

4

Which versions of Foreman are affected by CVE-2013-4386?

CVE-2013-4386 affects Foreman versions up to and including 1.2.2.

5

Can CVE-2013-4386 impact my OpenStack deployment?

Yes, CVE-2013-4386 can impact OpenStack deployments using vulnerable versions of Foreman.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203