Bug 1302699 - (CVE-2016-2048) CVE-2016-2048 python-django: user with "change" but not "add" permission can create objects for ModelAdmin
CVE-2016-2048 python-django: user with "change" but not "add" permission can ...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20160201,reported=2...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-28 07:13 EST by Martin Prpič
Modified: 2016-02-02 02:44 EST (History)
1 user (show)

See Also:
Fixed In Version: Django 1.9.2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-02-02 02:44:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Martin Prpič 2016-01-28 07:13:56 EST
The following flaw was found in Django:

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.

This issue affects upstream version 1.9 of Django; versions 1.8 and older are not affected.
Comment 1 Martin Prpič 2016-01-28 07:14:57 EST
Acknowledgements:

Red Hat would like to thank the upstream Django project for reporting this issue.
Comment 2 Martin Prpič 2016-02-02 02:43:20 EST
Public via:

External References:

https://www.djangoproject.com/weblog/2016/feb/01/releases-192-and-189/

Note You need to log in before you can comment on or make changes to this bug.