6.4
MEDIUM
CVE-2016-8613
Foreman Remote Execution Plugin Stored XSS
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.

INFO

Published Date :

July 31, 2018, 8:29 p.m.

Last Modified :

Nov. 21, 2024, 2:59 a.m.

Remotely Exploitable :

Yes !

Impact Score :

2.7

Exploitability Score :

3.1
Affected Products

The following products are affected by CVE-2016-8613 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Theforeman foreman
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-8613.

URL Resource
http://www.securityfocus.com/bid/93859 Third Party Advisory VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8613 Issue Tracking Patch Third Party Advisory
https://github.com/theforeman/foreman_remote_execution/pull/208 Third Party Advisory
https://projects.theforeman.org/issues/17066/ Vendor Advisory
http://www.securityfocus.com/bid/93859 Third Party Advisory VDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8613 Issue Tracking Patch Third Party Advisory
https://github.com/theforeman/foreman_remote_execution/pull/208 Third Party Advisory
https://projects.theforeman.org/issues/17066/ Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-8613 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-8613 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 12, 2023

    Action Type Old Value New Value
    Changed Description CVE-2016-8613 foreman: Stored XSS vulnerability in remote execution plugin 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.
    Removed CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Removed CVSS V2 Red Hat, Inc. (AV:N/AC:M/Au:N/C:N/I:P/A:N)
    Removed Reference https://access.redhat.com/errata/RHSA-2018:0336 [No Types Assigned]
    Removed Reference https://access.redhat.com/security/cve/CVE-2016-8613 [No Types Assigned]
    Removed Reference https://bugzilla.redhat.com/show_bug.cgi?id=1387232 [No Types Assigned]
    Added CWE Red Hat, Inc. CWE-79
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed 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. CVE-2016-8613 foreman: Stored XSS vulnerability in remote execution plugin
    Added Reference https://access.redhat.com/errata/RHSA-2018:0336 [No Types Assigned]
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1387232 [No Types Assigned]
    Added Reference https://access.redhat.com/security/cve/CVE-2016-8613 [No Types Assigned]
    Removed CWE Red Hat, Inc. CWE-79
  • CVE Modified by [email protected]

    Mar. 11, 2020

    Action Type Old Value New Value
    Added CVSS V2 Red Hat, Inc. (AV:N/AC:M/Au:N/C:N/I:P/A:N)
  • CVE Modified by [email protected]

    Oct. 09, 2019

    Action Type Old Value New Value
    Added CVSS V3 Red Hat, Inc. AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
    Added CWE Red Hat, Inc. CWE-79
  • Initial Analysis by [email protected]

    Oct. 04, 2018

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 (AV:N/AC:M/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Changed Reference Type https://github.com/theforeman/foreman_remote_execution/pull/208 No Types Assigned https://github.com/theforeman/foreman_remote_execution/pull/208 Third Party Advisory
    Changed Reference Type https://projects.theforeman.org/issues/17066/ No Types Assigned https://projects.theforeman.org/issues/17066/ Vendor Advisory
    Changed Reference Type http://www.securityfocus.com/bid/93859 No Types Assigned http://www.securityfocus.com/bid/93859 Third Party Advisory, VDB Entry
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8613 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2016-8613 Issue Tracking, Patch, Third Party Advisory
    Added CWE CWE-79
    Added CPE Configuration OR *cpe:2.3:a:theforeman:foreman:1.5.1:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Aug. 02, 2018

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/93859 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-8613 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2016-8613 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.32 }} -0.00%

score

0.70914

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability