Hunt prep
Before you test Django
What 14 disclosed reports say about Django: what was found and paid, what was fixed, and where it may be worth looking next.
- with a public bounty
- 0
- median public bounty
- –
- highest public bounty
- –
Gaps worth testing
Not written yet for this program. The numbers below are up to date.
What was found and what it paid
Public bounties only; many reports disclose without the amount.
| Class | Reports | Paid | Median | Highest | In all |
|---|---|---|---|---|---|
| SQL injection lesson | 5 | 0 | – | – | $0 |
| Info disclosure lesson | 2 | 0 | – | – | $0 |
| RCE lesson | 2 | 0 | – | – | $0 |
| Cache bugs lesson | 1 | 0 | – | – | $0 |
| Path traversal lesson | 1 | 0 | – | – | $0 |
| Misconfiguration lesson | 1 | 0 | – | – | $0 |
| CSRF lesson | 1 | 0 | – | – | $0 |
| DoS lesson | 1 | 0 | – | – | $0 |
What was fixed
All reportsThe newest fixes, in our words. A fixed bug is not worth re-reporting, but a sibling feature, an older API version or a regression may be.
-
ASGIRequest header concatenation quadratic CPU DoS on Django via repeated headers leads to worker exhaustion
Repeated headers should be collected in lists and joined once after the loop, with an optional cap on repetitions per header name.
Disclosed
-
User enumeration via timing attack in Django mod_wsgi authentication backend leads to account discovery
The fix is to call set_password on a dummy user before returning None for non-existent or inactive users, equalising response times.
Disclosed
-
Path traversal via archive.extract - CVE 2021-3281 incomplete patch
The check should compare path components or ensure the base path ends with a separator before the prefix test, so that only true subdirectories are allowed.
Disclosed
-
SQL Injection in Django ORM via Unvalidated `_connector` in Q Objects
The vulnerability should be fixed by validating the connector value against a strict allow-list (only 'AND' or 'OR') before using it in string formatting.
Disclosed
-
CVE-2022-34265
The vulnerability was fixed in Django 3.2.14 and 4.0.6 by improving string handling to prevent SQL statement corruption.
Disclosed
-
Email Spoofing Possible on djangoproject.com Email Domain
A DMARC record with 'p=reject;' should be added to reject spoofed emails.
Disclosed
-
CSRF protection bypass on any Django powered site via Google Analytics
The report does not state a fix; it was reported to Google (cookie injection rewarded, still working) and to Facebook (redirected to Django Team).
Disclosed
-
Disclosing information with a side-channel in Django
The maintainers limited dictsort's _property_resolver to allow only dictionary and attribute lookups, preventing method calls and sorting by individual characters.