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.
Originally disclosed on Cisco Talos
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.
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
- Send an HTTP request to the cgiserver.cgi Login API with an empty JSON array as the body.
- The server creates a session but does not execute any login command, leaving the session status unset.
- 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.