Cross-site Scripting (XSS) Affecting foreman-cli package, versions <0:1.20.1.34-1.el7sat


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.05% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL7-FOREMANCLI-5405673
  • published2 Apr 2023
  • disclosed4 Sept 2018

Introduced: 4 Sep 2018

CVE-2018-16861  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade RHEL:7 foreman-cli to version 0:1.20.1.34-1.el7sat or higher.
This issue was patched in RHSA-2019:1222.

NVD Description

Note: Versions mentioned in the description apply only to the upstream foreman-cli package and not the foreman-cli package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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. Foreman before 1.18.3, 1.19.1, and 1.20.0 are vulnerable.