CVE-2016-6320 Cross-site scripting in n/a

Medium 5.4 Published Updated

Authenticated attackers can inject arbitrary scripts via network interface identifiers in Foreman, potentially compromising user sessions.

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-2016-6320?

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

Official description

Cross-site scripting (XSS) vulnerability in app/assets/javascripts/host_edit_interfaces.js in Foreman before 1.12.2 allows remote authenticated users to inject arbitrary web script or HTML via the network interface device identifier in the host interface form.

Weakness: CWE-79

Which versions are affected by CVE-2016-6320?

It affects 1 product.

Linux distribution packages (40)
foreman Red Hat:satellite:6.1::el6All versions0:1.11.0.53-1.el6sat
foreman-compute Red Hat:satellite:6.1::el6All versions0:1.11.0.53-1.el6sat
foreman-debug Red Hat:satellite:6.1::el6All versions0:1.11.0.53-1.el6sat
foreman-ec2 Red Hat:satellite:6.1::el6All versions0:1.11.0.53-1.el6sat
foreman-gce Red Hat:satellite:6.1::el6All versions0:1.11.0.53-1.el6sat
foreman-installer-katello Red Hat:satellite:6.1::el6All versions0:3.0.0.57-1.el6sat
foreman-libvirt Red Hat:satellite:6.1::el6All versions0:1.11.0.53-1.el6sat
foreman-openstack Red Hat:satellite:6.1::el6All versions0:1.11.0.53-1.el6sat
foreman-ovirt Red Hat:satellite:6.1::el6All versions0:1.11.0.53-1.el6sat
foreman-postgresql Red Hat:satellite:6.1::el6All versions0:1.11.0.53-1.el6sat
foreman-proxy Red Hat:satellite:6.1::el6All versions0:1.11.0.6-1.el6sat
foreman-rackspace Red Hat:satellite:6.1::el6All versions0:1.11.0.53-1.el6sat
foreman-vmware Red Hat:satellite:6.1::el6All versions0:1.11.0.53-1.el6sat
katello Red Hat:satellite:6.1::el6All versions0:3.0.0-12.el6sat
katello-capsule Red Hat:satellite:6.1::el6All versions0:3.0.0-12.el6sat
katello-common Red Hat:satellite:6.1::el6All versions0:3.0.0-12.el6sat
katello-debug Red Hat:satellite:6.1::el6All versions0:3.0.0-12.el6sat
katello-installer-base Red Hat:satellite:6.1::el6All versions0:3.0.0.57-1.el6sat
katello-service Red Hat:satellite:6.1::el6All versions0:3.0.0-12.el6sat
python-qpid Red Hat:satellite:6.1::el6All versions0:0.30-10.el6sat
satellite Red Hat:satellite:6.1::el6All versions0:6.2.2-1.1.el6sat
satellite-capsule Red Hat:satellite:6.1::el6All versions0:6.2.2-1.1.el6sat
satellite-cli Red Hat:satellite:6.1::el6All versions0:6.2.2-1.1.el6sat
satellite-debug-tools Red Hat:satellite:6.1::el6All versions0:6.2.2-1.1.el6sat
satellite-installer Red Hat:satellite:6.1::el6All versions0:6.2.0.12-1.el6sat
tfm-rubygem-bastion Red Hat:satellite:6.1::el6All versions0:3.2.0.10-1.el6sat
tfm-rubygem-foreman-redhat_access Red Hat:satellite:6.1::el6All versions0:1.0.13-1.el6sat
tfm-rubygem-foreman_openscap Red Hat:satellite:6.1::el6All versions0:0.5.3.18-1.el6sat
tfm-rubygem-foreman_remote_execution Red Hat:satellite:6.1::el6All versions0:0.3.0.12-1.el6sat
tfm-rubygem-foreman_theme_satellite Red Hat:satellite:6.1::el6All versions0:0.1.28-1.el6sat
tfm-rubygem-hammer_cli_csv Red Hat:satellite:6.1::el6All versions0:2.1.0-1.el6sat
tfm-rubygem-hammer_cli_katello Red Hat:satellite:6.1::el6All versions0:0.0.22.26-1.el6sat
tfm-rubygem-katello Red Hat:satellite:6.1::el6All versions0:3.0.0.78-1.el6sat
tfm-rubygem-redhat_access_lib Red Hat:satellite:6.1::el6All versions0:1.0.4-1.el6sat
foreman Red Hat:satellite:6.2::el7All versions0:1.11.0.53-1.el7sat
foreman-compute Red Hat:satellite:6.2::el7All versions0:1.11.0.53-1.el7sat
foreman-debug Red Hat:satellite:6.2::el7All versions0:1.11.0.53-1.el7sat
foreman-ec2 Red Hat:satellite:6.2::el7All versions0:1.11.0.53-1.el7sat
foreman-gce Red Hat:satellite:6.2::el7All versions0:1.11.0.53-1.el7sat
foreman-installer-katello Red Hat:satellite:6.2::el7All versions0:3.0.0.57-1.el7sat

Products include Theforeman Foreman.

How do I fix CVE-2016-6320?

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-2016-6320 being exploited?

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

All Theforeman Foreman vulnerabilities

Sources

Also known as CVE-2017-2656, GHSA-q7gw-xhj8-rjh9, RHBA-2016:1885.

Is CVE-2016-6320 in your software?

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

Check your SBOMs for free