Django Administrative Interface Query String Vulnerability in python-django

python-django Updated 02 Oct 2025

Summary

10/01/2011
N/A
Yes i
Unrated
Not published

CVE-2010-4534: 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 a... Affects python-django versions < 1.2.4-1. Fixed in 1.2.4-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It provides a robust administrative interface that allows developers to manage application data easily. However, certain versions of django.contrib.admin prior to 1.1.3, 1.2.4, and 1.3 beta 1 are vulnerable to an issue that allows remote authenticated users to exploit the query string for unauthorized object filtering, potentially exposing sensitive information.

Vulnerability Detail

The vulnerability arises from improper restrictions on the use of the query string in the Django administrative interface. This flaw allows authenticated users to manipulate requests containing regular expressions, such as 'created_by__password__regex', to filter objects inappropriately. The ramifications include the potential exposure of sensitive data, such as user passwords, which could lead to further exploitation or data breaches.

How To Fix

Minimum fixed version

1.2.4-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-django

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, restrict access to the administrative interface to trusted users only, and monitor the use of query strings in requests to identify any unauthorized attempts to filter objects.

Conclusion

The CVE-2010-4534 vulnerability in the Django administrative interface poses a significant risk by allowing unauthorized object filtering through manipulated query strings. Upgrading to a secure version is crucial to protect sensitive information. For those unable to upgrade immediately, implementing access restrictions and monitoring can serve as temporary measures.

See every vulnerability recorded for python-django →

Share this vulnerability

FAQ

Django versions before 1.1.3, 1.2.x before 1.2.4, and 1.3.x before 1.3 beta 1 are affected.

Sensitive information, such as user passwords and other private data, can be exposed through unauthorized object filtering.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

While upgrading is the best solution, you can restrict access to the admin interface and monitor query string usage as a temporary measure.

If immediate upgrading is not possible, ensure that only trusted users have access to the admin interface and implement strict monitoring of access logs.

Related vulnerabilities

Recent vulnerabilities recorded for python-django.

How To Fix

Minimum fixed version

1.2.4-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade python-django

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback