Bug 1013076 - (CVE-2013-4386) CVE-2013-4386 Foreman: host and host group parameter SQL injection
CVE-2013-4386 Foreman: host and host group parameter SQL injection
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 1013078 1013079
Blocks: 1013084
  Show dependency treegraph
Reported: 2013-09-27 15:26 EDT by Kurt Seifried
Modified: 2016-04-26 13:25 EDT (History)
22 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-05-20 01:24:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:1522 normal SHIPPED_LIVE Moderate: Foreman security update 2013-11-14 17:29:33 EST

  None (edit)
Description Kurt Seifried 2013-09-27 15:26:54 EDT
Dominic Cleal of Red Hat reported an SQL injection vulnerability in 

Host and host group parameter overrides (lookup_values) use a hand-crafted SQL 
query to associate the host/host group to the lookup_value object, as it 
searches for lookup_values 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:
Comment 3 Murray McAllister 2013-09-30 05:15:48 EDT

This issue was discovered by Dominic Cleal of Red Hat.
Comment 7 errata-xmlrpc 2013-11-14 12:32:25 EST
This issue has been addressed in following products:

  OpenStack 3 for RHEL 6

Via RHSA-2013:1522 https://rhn.redhat.com/errata/RHSA-2013-1522.html

Note You need to log in before you can comment on or make changes to this bug.