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
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2016-6319
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
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:
Environment:
Last Closed: 2021-10-21 00:54:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
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:

http://projects.theforeman.org/issues/16019

Proposed upstream patch:

https://github.com/theforeman/foreman/pull/3715/commits/4b63d2c7cdad76ed2bf96d9f8dff7e0c5cdabda6

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

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.