Skip to content
DoS Write-up Intermediate

CVE-2025–27556 | Django — Windows’ta LoginView, Logout

On Windows, Django's LoginView, LogoutView and set_language views performed slow NFKC Unicode normalisation on attacker-supplied input, so a very long string of special Unicode characters could tie up the server. An attacker could send such input to cause a denial of service.

Yunus Olçar Follow

Published on medium.com

Hey, selam. 2 Nisan’da çıkmış olan bu güvenlik açığına birlikte bakalım.

Yunus Olçar, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could cause a denial of service, making the server unresponsive; the text says this affects Django running on Windows.

What the attacker needed

Django running on Windows; ability to send requests to the views

The fix

The issue was fixed by adding a URL length check so overly long URLs are not processed.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Unicode is the standard way computers store text in many languages, and normalisation is a step that rewrites text into a standard form so it can be compared. On Windows this rewriting is slow for certain fancy characters, so sending a huge amount of them makes the server spend a long time on one request. If enough such requests arrive, the site stops answering normal users, which is called a denial of service.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Yunus Olçar

View all

6 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.