Bug 1645201 (CVE-2018-16861) - CVE-2018-16861 foreman: stored XSS in success notification after entity creation
Summary: CVE-2018-16861 foreman: stored XSS in success notification after entity creation
Alias: CVE-2018-16861
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
: 1645208 (view as bug list)
Depends On: 1652785
Blocks: 1637732 1640755
TreeView+ depends on / blocked
Reported: 2018-11-01 15:42 UTC by Laura Pardo
Modified: 2021-02-16 22:50 UTC (History)
9 users (show)

Fixed In Version: foreman 1.18.3, foreman 1.19.1, foreman 1.20.0
Doc Type: If docs needed, set a value
Doc Text:
A cross-site scripting (XSS) flaw was found in the foreman component of satellite. An attacker with privilege to create entries using the Hosts, Monitor, Infrastructure, or Administer Menus is able to execute a XSS attacks against other users, possibly leading to malicious code execution and extraction of the anti-CSRF token of higher privileged users.
Clone Of:
Last Closed: 2019-06-10 10:41:38 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:1222 0 None None None 2019-05-14 12:36:16 UTC

Description Laura Pardo 2018-11-01 15:42:03 UTC
A flaw was found in foreman before versions 1.18.3, 1.19.1, 1.20.0. An stored XSS in the entity creation field.


Upstream Patches:

Comment 1 Laura Pardo 2018-11-01 15:42:15 UTC

Name: Sanket Jagtap (Red Hat Pune India)

Comment 7 Richard Maciel Costa 2018-12-04 21:21:08 UTC
*** Bug 1645208 has been marked as a duplicate of this bug. ***

Comment 8 Richard Maciel Costa 2018-12-04 21:22:50 UTC
Note job invocation uses the same code to generate a toast message when successfully creating the job, hence that's another vector for exploiting this issue. That's the reason for Bug #1645208 being marked as duplicate as this one.

Comment 9 errata-xmlrpc 2019-05-14 12:36:15 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.5 for RHEL 7

Via RHSA-2019:1222 https://access.redhat.com/errata/RHSA-2019:1222

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