CVE-2016-2048 Django Access Restrictions Bypass

Medium 5.5 Published Updated

Authenticated users can bypass access restrictions to create unauthorized objects when the save_as feature is enabled in Django admin.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-2048?

CVE-2016-2048 is a medium-severity missing authorization vulnerability in Djangoproject Django, published on 8 Feb 2016. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Django 1.9.x before 1.9.2, when ModelAdmin.save_as is set to True, allows remote authenticated users to bypass intended access restrictions and create ModelAdmin objects via the "Save as New" option when editing objects and leveraging the "change" permission.

Weakness: CWE-284

Which versions are affected by CVE-2016-2048?

3 open source packages ship an affected version, including django and Django. It affects 1 product.

PackageAffectedFixed in
django PyPIFrom 1.91.9.2
django PyPIFrom 1.91.9.2
Django PyPIFrom 1.91.9.2

Products include Djangoproject Django.

How do I fix CVE-2016-2048?

Upgrade django to 1.9.2 or later.

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

Is CVE-2016-2048 being exploited?

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

All Djangoproject Django vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-2048, GHSA-46x4-9jmv-jc8p, PYSEC-2016-14.

Is CVE-2016-2048 in your software?

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

Check your SBOMs for free