#31747: Model enumeration
-----------------------------------------+------------------------
Reporter: Daniel Maxson | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 3.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
When attacking a default Django server (one created with startproject is
sufficient), you can enumerate the names of the applications and models by
fuzzing the admin URL path. A redirect indicates that the model exists in
that application, while a 404 indicates it does not. This can be done
without any authentication. For example:
http://127.0.0.1:8000/admin/auth/user/ -> 302 to login
http://127.0.0.1:8000/admin/auth/group/ -> 302 to login
http://127.0.0.1:8000/admin/auth/foo/ -> 404
I originally raised this with the security team and after some discussion
they requested a public ticket for this.
--
Ticket URL: <https://code.djangoproject.com/ticket/31747>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.1f1f1af59290cfdde08dd6d9bfba5487%40djangoproject.com.