6.1
MEDIUM CVSS 3.0
CVE-2016-6319
Foreman Remote Execution XSS
Description

Cross-site scripting (XSS) vulnerability in app/helpers/form_helper.rb in Foreman before 1.12.2, as used by Remote Execution and possibly other plugins, allows remote attackers to inject arbitrary web script or HTML via the label parameter.

INFO

Published Date :

Aug. 19, 2016, 9:59 p.m.

Last Modified :

April 12, 2025, 10:46 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2016-6319 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
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.0 MEDIUM [email protected]
Solution
This information is provided by the 3rd party feeds.
  • Update the affected packages.
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-6319 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-6319 weaknesses.

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-6319 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-6319 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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://projects.theforeman.org/issues/16019
    Added Reference http://projects.theforeman.org/issues/16024
    Added Reference http://www.securityfocus.com/bid/92429
    Added Reference https://access.redhat.com/errata/RHSA-2018:0336
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=1365815
    Added Reference https://github.com/theforeman/foreman/commit/0f35fe14acf0d0d3b55e9337bc5e2b9640ff2372
    Added Reference https://theforeman.org/security.html#2016-6319
  • CVE Modified by [email protected]

    May. 14, 2024

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

    Feb. 13, 2023

    Action Type Old Value New Value
    Changed Description It was found that foreman is vulnerable to a stored XSS via a job template with a malformed name. This could allow an attacker with privileges to set the name in a template to display arbitrary HTML including scripting code within the web interface. Cross-site scripting (XSS) vulnerability in app/helpers/form_helper.rb in Foreman before 1.12.2, as used by Remote Execution and possibly other plugins, allows remote attackers to inject arbitrary web script or HTML via the label parameter.
    Removed CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Removed CVSS V2 Red Hat, Inc. (AV:N/AC:M/Au:S/C:P/I:P/A:N)
    Removed CVSS V3 Red Hat, Inc. AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Removed Reference https://access.redhat.com/security/cve/CVE-2016-6319 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed Description Cross-site scripting (XSS) vulnerability in app/helpers/form_helper.rb in Foreman before 1.12.2, as used by Remote Execution and possibly other plugins, allows remote attackers to inject arbitrary web script or HTML via the label parameter. It was found that foreman is vulnerable to a stored XSS via a job template with a malformed name. This could allow an attacker with privileges to set the name in a template to display arbitrary HTML including scripting code within the web interface.
    Added CVSS V2 Red Hat, Inc. (AV:N/AC:M/Au:S/C:P/I:P/A:N)
    Added CVSS V3 Red Hat, Inc. AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    Added Reference https://access.redhat.com/security/cve/CVE-2016-6319 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 23, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2018:0336 [No Types Assigned]
  • Modified Analysis by [email protected]

    Aug. 22, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:theforeman:foreman:1.12.1:*:*:*:*:*:*:* (and previous)
    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 http://projects.theforeman.org/issues/16019 No Types Assigned http://projects.theforeman.org/issues/16019 Vendor Advisory
    Changed Reference Type http://www.securityfocus.com/bid/92429 No Types Assigned http://www.securityfocus.com/bid/92429 Third Party Advisory, VDB Entry
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1365815 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1365815 Third Party Advisory, VDB Entry, Issue Tracking
    Changed Reference Type https://theforeman.org/security.html#2016-6319 No Types Assigned https://theforeman.org/security.html#2016-6319 Vendor Advisory
    Changed Reference Type https://github.com/theforeman/foreman/commit/0f35fe14acf0d0d3b55e9337bc5e2b9640ff2372 No Types Assigned https://github.com/theforeman/foreman/commit/0f35fe14acf0d0d3b55e9337bc5e2b9640ff2372 Patch
    Changed Reference Type http://projects.theforeman.org/issues/16024 No Types Assigned http://projects.theforeman.org/issues/16024 Vendor Advisory
    Added CWE CWE-79
  • Initial Analysis by [email protected]

    Aug. 22, 2016

    Action Type Old Value New Value
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.
Vulnerability Scoring Details
Base CVSS Score: 6.1
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 4.3
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

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

0.54 }} -0.16%

score

0.66213

percentile