Permissions, Privileges, and Access Controls in Django - CVE-2010-4534
Published: January 10, 2011 / Updated: August 11, 2020
Django
Detailed vulnerability description
The vulnerability allows a remote #AU# to gain access to sensitive information.
The administrative interface in django.contrib.admin in Django before 1.1.3, 1.2.x before 1.2.4, and 1.3.x before 1.3 beta 1 does not properly restrict use of the query string to perform certain object filtering, which allows remote authenticated users to obtain sensitive information via a series of requests containing regular expressions, as demonstrated by a created_by__password__regex parameter.
How to mitigate CVE-2010-4534
Sources
- http://archives.neohapsis.com/archives/fulldisclosure/2010-12/0580.html
- http://code.djangoproject.com/changeset/15031
- http://evilpacket.net/2010/dec/22/information-leakage-django-administrative-interfac/
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053041.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-January/053072.html
- http://ngenuity-is.com/advisories/2010/dec/22/information-leakage-in-django-administrative-inter/
- http://secunia.com/advisories/42715
- http://secunia.com/advisories/42827
- http://secunia.com/advisories/42913
- http://www.djangoproject.com/weblog/2010/dec/22/security/
- http://www.openwall.com/lists/oss-security/2010/12/23/4
- http://www.openwall.com/lists/oss-security/2011/01/03/5
- http://www.securityfocus.com/archive/1/515446
- http://www.securityfocus.com/bid/45562
- http://www.ubuntu.com/usn/USN-1040-1
- http://www.vupen.com/english/advisories/2011/0048
- http://www.vupen.com/english/advisories/2011/0098
- https://bugzilla.redhat.com/show_bug.cgi?id=665373