Skip to content
DoS Write-up Intermediate

(CVE-2018-20335) ASUSWRT Denial of Service of HTTP Service

An unauthenticated attacker can cause a denial of service in the ASUSWRT httpd service by sending a crafted cookie in an HTTP request. The httpd process hangs when processing the cookie, making the web interface unavailable.

starlabs.sg

Published on starlabs.sg

An unauthenticated user can trigger a DoS (Denial of Service) of the httpd service in ASUSWRT. The cause of this bug is a cookie sent in a HTTP request.

The author, on starlabs.sg

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

Root cause

Likely the httpd's request handler calls fgets on a cookie value without proper bounds or termination handling, causing it to block indefinitely.

What the attacker needed

Network access to router web interface; no authentication required

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.

A router's web interface runs a small web server program. If someone sends a specially formed request with a particular cookie, that program gets stuck and stops responding, so the router's admin page becomes unreachable until the service restarts.

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.

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.