Skip to content
DoS Advisory Intermediate CVE-2021-40406

Reolink RLC-410W cgiserver.cgi session creation denial of service vulnerability

A denial of service vulnerability exists in the cgiserver.cgi session creation of the Reolink RLC-410W camera. An attacker can send a specially crafted HTTP request with an empty command array to create a session that is never removed, eventually filling the session list and preventing legitimate users from logging in.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

High 7.5 View original

A denial of service vulnerability exists in the cgiserver.cgi session creation functionality of reolink RLC-410W v3.0.0.13620121102. A specially-crafted HTTP request can lead to prevent users from logging in.

Francesco Benvenuto, on Cisco Talos

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The session creation logic does not set a session status when the login command list is empty, and the session cleanup routine only removes sessions marked as valid or invalid, leaving such sessions permanently in the list.

Impact

An attacker can prevent users from logging into the camera by exhausting the session list, causing a denial of service.

What the attacker needed

Network access to the camera

The fix

The session status should be initialised to a removable state, or sessions with an unknown status should be cleaned up by the session management routine.

How it was found

  1. Send an HTTP request to the cgiserver.cgi Login API with an empty JSON array as the body.
  2. The server creates a session but does not execute any login command, leaving the session status unset.
  3. Repeat the request until the session list is full, blocking legitimate logins.

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 report has not been written yet. The Original tab links to the source.

This camera keeps a list of active login sessions in memory. By sending a request that looks like a login but contains no actual login command, an attacker can create a session that the camera never cleans up. If enough of these are created, the list fills up and real users cannot log in.

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 Francesco Benvenuto

View all

152 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

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.