Bug 1302699 (CVE-2016-2048) - CVE-2016-2048 python-django: user with "change" but not "add" permission can create objects for ModelAdmin
Summary: CVE-2016-2048 python-django: user with "change" but not "add" permission can ...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2016-2048
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-28 12:13 UTC by Martin Prpič
Modified: 2019-09-29 13:43 UTC (History)
1 user (show)

Fixed In Version: Django 1.9.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-02 07:44:22 UTC


Attachments (Terms of Use)

Description Martin Prpič 2016-01-28 12:13:56 UTC
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 12:14:57 UTC
Acknowledgements:

Red Hat would like to thank the upstream Django project for reporting this issue.

Comment 2 Martin Prpič 2016-02-02 07:43:20 UTC
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.