Bug 1013076 (CVE-2013-4386) - CVE-2013-4386 Foreman: host and host group parameter SQL injection
Summary: CVE-2013-4386 Foreman: host and host group parameter SQL injection
Status: CLOSED ERRATA
Alias: CVE-2013-4386
Product: Security Response
Classification: Other
Component: vulnerability   
(Show other bugs)
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=moderate,public=20131007,repor...
Keywords: Security
Depends On: 1013078 1013079
Blocks: 1013084
TreeView+ depends on / blocked
 
Reported: 2013-09-27 19:26 UTC by Kurt Seifried
Modified: 2016-04-26 17:25 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-05-20 05:24:36 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
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 22:29:33 UTC

Description Kurt Seifried 2013-09-27 19:26:54 UTC
Dominic Cleal of Red Hat reported an SQL injection vulnerability in 
Foreman.

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:
http://projects.theforeman.org/issues/3160)

Comment 3 Murray McAllister 2013-09-30 09:15:48 UTC
Acknowledgements:

This issue was discovered by Dominic Cleal of Red Hat.

Comment 7 errata-xmlrpc 2013-11-14 17:32:25 UTC
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.