CVE-2016-8613
foreman: Stored XSS vulnerability in remote execution plugin
Overview
Description
A flaw was found in foreman 1.5.1. The remote execution plugin runs commands on hosts over SSH from the Foreman web UI. When a job is submitted that contains HTML tags, the console output shown in the web UI does not escape the output causing any HTML or JavaScript to run in the user's browser. The output of the job is stored, making this a stored XSS vulnerability.
Source: OX vulnerability database
Severity
6.1 · MEDIUM
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 65 fixes
Red Hat 1 release · 65 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rubygem-kafo-wizards | 0:0.0.1-2.el7sat | RHSA-2018:0336 |
| 7 | tfm-rubygem-hammer-cli-foreman-tasks | 0:0.0.12-1.fm1_15.el7sat | RHSA-2018:0336 |
| 7 | rubygem-smart-proxy-dhcp-remote-isc | 0:0.0.2.1-1.fm1_15.el7sat | RHSA-2018:0336 |
| 7 | tfm-rubygem-hammer-cli-foreman-virt-who-configure | 0:0.0.3-1.el7sat | RHSA-2018:0336 |
| 7 | tfm-rubygem-hammer-cli-foreman-remote-execution | 0:0.0.6-1.fm1_15.el7sat | RHSA-2018:0336 |
| 7 | tfm-rubygem-hammer-cli-foreman-docker | 0:0.0.6-2.el7sat | RHSA-2018:0336 |
59 more rows
References
- www.securityfocus.com http://www.securityfocus.com/bid/93859
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-8613
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8613
- github.com https://github.com/theforeman/foreman_remote_execution/pull/208
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-8613
- projects.theforeman.org https://projects.theforeman.org/issues/17066/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-8613
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.