CVE-2015-1856 OpenStack Swift Unauthorized delete of versioned Swift object

Medium 5.5 Published Updated

Authenticated users can delete the latest version of an object in OpenStack Swift when versioning is enabled, leading to unauthorized data modification.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-1856?

CVE-2015-1856 is a medium-severity missing authorization vulnerability in Canonical Ubuntu Linux, published on 17 Apr 2015. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

OpenStack Object Storage (Swift) before 2.3.0, when allow_version is configured, allows remote authenticated users to delete the latest version of an object by leveraging listing access to the x-versions-location container.

Weakness: CWE-264

Which versions are affected by CVE-2015-1856?

3 open source packages ship an affected version, including swift. It affects 2 products.

PackageAffectedFixed in
swift PyPIAll versions2.3.0
swift PyPIAll versions2.3.0
swift PyPIAll versions2.3.0
Linux distribution packages (18)
openstack-swift Red Hat:openstack:5::el6All versions0:1.13.1-6.el6ost
openstack-swift-account Red Hat:openstack:5::el6All versions0:1.13.1-6.el6ost
openstack-swift-container Red Hat:openstack:5::el6All versions0:1.13.1-6.el6ost
openstack-swift-doc Red Hat:openstack:5::el6All versions0:1.13.1-6.el6ost
openstack-swift-object Red Hat:openstack:5::el6All versions0:1.13.1-6.el6ost
openstack-swift-proxy Red Hat:openstack:5::el6All versions0:1.13.1-6.el6ost
openstack-swift Red Hat:openstack:5::el7All versions0:1.13.1-5.el7ost
openstack-swift-account Red Hat:openstack:5::el7All versions0:1.13.1-5.el7ost
openstack-swift-container Red Hat:openstack:5::el7All versions0:1.13.1-5.el7ost
openstack-swift-doc Red Hat:openstack:5::el7All versions0:1.13.1-5.el7ost
openstack-swift-object Red Hat:openstack:5::el7All versions0:1.13.1-5.el7ost
openstack-swift-proxy Red Hat:openstack:5::el7All versions0:1.13.1-5.el7ost
openstack-swift Red Hat:openstack:6::el7All versions0:2.2.0-4.el7ost
openstack-swift-account Red Hat:openstack:6::el7All versions0:2.2.0-4.el7ost
openstack-swift-container Red Hat:openstack:6::el7All versions0:2.2.0-4.el7ost
openstack-swift-doc Red Hat:openstack:6::el7All versions0:2.2.0-4.el7ost
openstack-swift-object Red Hat:openstack:6::el7All versions0:2.2.0-4.el7ost
openstack-swift-proxy Red Hat:openstack:6::el7All versions0:2.2.0-4.el7ost

Products include Canonical Ubuntu Linux, Openstack Swift.

How do I fix CVE-2015-1856?

Upgrade swift to 2.3.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2015-1856 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-1856, GHSA-cc77-5vw4-7pwg, PYSEC-2026-931, RHSA-2015:1681, RHSA-2015:1684, UBUNTU-CVE-2015-1856.

Is CVE-2015-1856 in your software?

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

Check your SBOMs for free