Bug 1365815 (CVE-2016-6319) - CVE-2016-6319 foreman: Persistent XSS in Foreman remote execution plugin
Summary: CVE-2016-6319 foreman: Persistent XSS in Foreman remote execution plugin
Alias: CVE-2016-6319
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1369872 1369882
Blocks: 1365818 1432305
TreeView+ depends on / blocked
Reported: 2016-08-10 09:28 UTC by Andrej Nemec
Modified: 2021-10-21 00:54 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
It was found that foreman is vulnerable to a stored XSS via a job template with a malformed name. This could allow an attacker with privileges to set the name in a template to display arbitrary HTML including scripting code within the web interface.
Clone Of:
Last Closed: 2021-10-21 00:54:29 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0336 0 normal SHIPPED_LIVE Important: Satellite 6.3 security, bug fix, and enhancement update 2018-02-21 22:43:42 UTC

Description Andrej Nemec 2016-08-10 09:28:33 UTC
Marek Hulán of Red Hat reports:

User can define a job template and specify input name containing JS code. When
someone tries to invoke such job, the form is generated based on this name
without proper escaping so the JS gets executed.

Upstream issue:


Proposed upstream patch:


Comment 3 Kurt Seifried 2017-07-13 01:04:50 UTC

Name: Marek Hulán (Red Hat)

Comment 5 errata-xmlrpc 2018-02-21 12:27:55 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.3 for RHEL 7

Via RHSA-2018:0336 https://access.redhat.com/errata/RHSA-2018:0336

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