CVE-2016-6519 Openstack Manila Persistent XSS in Metadata field

Medium 5.4 Published Updated

Authenticated users can inject arbitrary scripts via the Metadata field in the Create Share form, potentially compromising other users' 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-6519?

CVE-2016-6519 is a medium-severity cross-site scripting vulnerability in Redhat Openstack, published on 21 Apr 2017. 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 the "Shares" overview in Openstack Manila before 2.5.1 allows remote authenticated users to inject arbitrary web script or HTML via the Metadata field in the "Create Share" form.

Weakness: CWE-79

Which versions are affected by CVE-2016-6519?

3 open source packages ship an affected version, including manila-ui. It affects 2 products.

PackageAffectedFixed in
manila-ui PyPIAll versions2.5.1
manila-ui PyPIAll versions2.5.1
manila-ui PyPIAll versions2.5.1
Linux distribution packages (4)
openstack-manila-ui Red Hat:openstack:7::el7All versions0:1.0.1-3.el7ost
openstack-manila-ui Red Hat:openstack:8::el7All versions0:1.2.0-2.el7ost
openstack-manila-ui Red Hat:openstack:9::el7All versions0:2.1.0-2.el7ost
openstack-horizon-plugin-manila-ui SUSE:OpenStack Cloud 6All versions1.2.1~a0~dev2-3.1

Products include Openstack Manila, Redhat Openstack.

How do I fix CVE-2016-6519?

Upgrade manila-ui to 2.5.1 or later.

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-6519 being exploited?

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

All Redhat Openstack vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-6519, GHSA-vq76-5ghr-9p4v, PYSEC-2026-662, RHSA-2016:2115, RHSA-2016:2116, RHSA-2016:2117 and 2 more.

Is CVE-2016-6519 in your software?

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

Check your SBOMs for free