CVE-2015-7518 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML into Foreman information popups via specific parameters, potentially leading to session hijacking or malicious actions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2015-7518?

CVE-2015-7518 is a medium-severity cross-site scripting vulnerability in Theforeman Foreman, published on 17 Dec 2015. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Multiple cross-site scripting (XSS) vulnerabilities in information popups in Foreman before 1.10.0 allow remote attackers to inject arbitrary web script or HTML via (1) global parameters, (2) smart class parameters, or (3) smart variables in the (a) host or (b) hostgroup edit forms.

Weakness: CWE-79

Which versions are affected by CVE-2015-7518?

It affects 1 product.

Linux distribution packages (40)
candlepin Red Hat:satellite:6.1::el6All versions0:0.9.49.11-1.el6
candlepin-selinux Red Hat:satellite:6.1::el6All versions0:0.9.49.11-1.el6
candlepin-tomcat6 Red Hat:satellite:6.1::el6All versions0:0.9.49.11-1.el6
foreman Red Hat:satellite:6.1::el6All versions0:1.7.2.53-1.el6_6sat
foreman-compute Red Hat:satellite:6.1::el6All versions0:1.7.2.53-1.el6_6sat
foreman-debug Red Hat:satellite:6.1::el6All versions0:1.7.2.53-1.el6_6sat
foreman-gce Red Hat:satellite:6.1::el6All versions0:1.7.2.53-1.el6_6sat
foreman-libvirt Red Hat:satellite:6.1::el6All versions0:1.7.2.53-1.el6_6sat
foreman-ovirt Red Hat:satellite:6.1::el6All versions0:1.7.2.53-1.el6_6sat
foreman-postgresql Red Hat:satellite:6.1::el6All versions0:1.7.2.53-1.el6_6sat
foreman-vmware Red Hat:satellite:6.1::el6All versions0:1.7.2.53-1.el6_6sat
katello-installer Red Hat:satellite:6.1::el6All versions0:2.3.25-1.el6
katello-installer-base Red Hat:satellite:6.1::el6All versions0:2.3.25-1.el6
pulp Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-admin-client Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-nodes-child Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-nodes-common Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-nodes-parent Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-puppet Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-puppet-admin-extensions Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-puppet-plugins Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-puppet-tools Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-rpm Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-rpm-admin-extensions Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-rpm-handlers Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-rpm-plugins Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-selinux Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
pulp-server Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
python-kombu Red Hat:satellite:6.1::el6All versions1:3.0.24-11.pulp.el6
python-pulp-agent-lib Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
python-pulp-bindings Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
python-pulp-client-lib Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
python-pulp-common Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
python-pulp-puppet-common Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
python-pulp-rpm-common Red Hat:satellite:6.1::el6All versions0:2.6.0.20-1.el6
ruby193-rubygem-fog Red Hat:satellite:6.1::el6All versions0:1.24.1-1.el6_6sat
ruby193-rubygem-katello Red Hat:satellite:6.1::el6All versions0:2.2.0.83-1.el6_6sat
rubygem-hammer_cli_katello Red Hat:satellite:6.1::el6All versions0:0.0.7.21-1.el6
candlepin Red Hat:satellite:6.1::el7All versions0:0.9.49.11-1.el7
candlepin-selinux Red Hat:satellite:6.1::el7All versions0:0.9.49.11-1.el7

Products include Theforeman Foreman.

How do I fix CVE-2015-7518?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2015-7518 being exploited?

There is no known exploitation of CVE-2015-7518 in the wild and no public exploit code.

All Theforeman Foreman vulnerabilities

Sources

Also known as GHSA-cr73-cpqp-v63j, RHSA-2016:0174.

Is CVE-2015-7518 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free