XSS in Theforeman Foreman
CVE-2016-8613
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.024, 84.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Theforeman Foreman — versions 1.5.1
- The Foreman Project — versions 1.5.1
Weakness classification (CWE)
References
- projects.theforeman.org/issues/17066/ (Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- www.securityfocus.com/bid/93859 (Third Party Advisory, VDB Entry, vdb-entry)
- github.com/theforeman/foreman_remote_execution/pull/208 (Third Party Advisory)