CVE-2014-3497 OpenStack Swift Cross-site Scriping vulnerability

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via the WWW-Authenticate header in OpenStack Swift, requiring user interaction to execute.

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

What is CVE-2014-3497?

CVE-2014-3497 is a medium-severity cross-site scripting vulnerability in n/a, published on 3 Jul 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site scripting (XSS) vulnerability in OpenStack Swift 1.11.0 through 1.13.1 allows remote attackers to inject arbitrary web script or HTML via the WWW-Authenticate header.

Weakness: CWE-79

Which versions are affected by CVE-2014-3497?

3 open source packages ship an affected version, including swift. It affects 1 product.

PackageAffectedFixed in
swift PyPIFrom 1.11.02.0.0
swift PyPIFrom 1.11.02.0.0
swift PyPIFrom 1.11.02.0.0
Linux distribution packages (8)
openstack-swift Red Hat:openstack:5::el7All versions0:1.13.1-3.el7ost
openstack-swift-account Red Hat:openstack:5::el7All versions0:1.13.1-3.el7ost
openstack-swift-container Red Hat:openstack:5::el7All versions0:1.13.1-3.el7ost
openstack-swift-doc Red Hat:openstack:5::el7All versions0:1.13.1-3.el7ost
openstack-swift-object Red Hat:openstack:5::el7All versions0:1.13.1-3.el7ost
openstack-swift-proxy Red Hat:openstack:5::el7All versions0:1.13.1-3.el7ost
python-swiftclient Red Hat:openstack:5::el7All versions0:2.1.0-2.el7ost
python-swiftclient-doc Red Hat:openstack:5::el7All versions0:2.1.0-2.el7ost

Products include Openstack Swift.

How do I fix CVE-2014-3497?

Upgrade swift to 2.0.0 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-2014-3497 being exploited?

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

Sources

Also known as DEBIAN-CVE-2014-3497, GHSA-66vj-393f-hxfv, PYSEC-2026-928, RHSA-2014:0941, UBUNTU-CVE-2014-3497, USN-2256-1.

Is CVE-2014-3497 in your software?

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

Check your SBOMs for free