[arch-security] [ASA-201602-2] python2-django: permission bypass

Jelle van der Waa jelle at archlinux.org
Tue Feb 2 13:35:06 UTC 2016


Arch Linux Security Advisory ASA-201602-2
=========================================

Severity: Medium
Date    : 2016-02-02
CVE-ID  : CVE-2016-2048
Package : python2-django
Type    : permission bypass
Remote  : Yes
Link    : https://wiki.archlinux.org/index.php/CVE

Summary
=======

The package python2-django before version 1.9.2-1 is vulnerable to
permission bypass.

Resolution
==========

Upgrade to 1.9.2-1.

# pacman -Syu "python2-django>=1.9.2-1"

The problem has been fixed upstream in version 1.9.2.

Workaround
==========

None.

Description
===========

If a ModelAdmin uses save_as=True (not the default), the admin provides an
option when editing objects to "Save as new".  A regression in Django 1.9
prevented that form submission from raising a "Permission Denied" error for
users without the "add" permission.

Impact
======

A remote attacker with django User account and change permissions but not
"add" might be able to create objects for ModelAdmin with save=True.

References
==========

https://www.djangoproject.com/weblog/2016/feb/01/releases-192-and-189/
https://access.redhat.com/security/cve/CVE-2016-2048
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.archlinux.org/pipermail/arch-security/attachments/20160202/b9e7a03f/attachment.asc>


More information about the arch-security mailing list