Skip to content
DoS Advisory Intermediate CVE-2021-44354CVE-2021-44355CVE-2021-44356CVE-2021-44357CVE-2021-44358CVE-2021-44359CVE-2021-44360CVE-2021-44361CVE-2021-44362CVE-2021-44363CVE-2021-44364CVE-2021-44365CVE-2021-44366CVE-2021-44367CVE-2021-44368CVE-2021-44369CVE-2021-44370CVE-2021-44371CVE-2021-44372CVE-2021-44373CVE-2021-44374CVE-2021-44375CVE-2021-44376CVE-2021-44377CVE-2021-44378CVE-2021-44379CVE-2021-44380CVE-2021-44381CVE-2021-44382CVE-2021-44383CVE-2021-44384CVE-2021-44385CVE-2021-44386CVE-2021-44387CVE-2021-44388CVE-2021-44389CVE-2021-44390CVE-2021-44391CVE-2021-44392CVE-2021-44393CVE-2021-44394CVE-2021-44395CVE-2021-44396CVE-2021-44397CVE-2021-44398CVE-2021-44399CVE-2021-44400CVE-2021-44401CVE-2021-44402CVE-2021-44403CVE-2021-44404CVE-2021-44405CVE-2021-44406CVE-2021-44407CVE-2021-44408CVE-2021-44409CVE-2021-44410CVE-2021-44411CVE-2021-44412CVE-2021-44413CVE-2021-44414CVE-2021-44415CVE-2021-44416CVE-2021-44417CVE-2021-44418CVE-2021-44419

Reolink RLC-410W cgiserver.cgi JSON command parser denial of service vulnerabilities

The camera's CGI server assumes that JSON elements in the request body are objects, so sending a JSON array element or a param value that is not an object triggers an assertion and kills the process. An attacker can send a crafted HTTP request to reboot the device, and some variants need no authentication.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

High 8.6 View original

Multiple denial of service vulnerabilities exist in the cgiserver.cgi JSON command parser functionality of reolink RLC-410W v3.0.0.13620121102. A specially-crafted HTTP request can lead to a reboot.

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 JSON parser assumes that array elements and the param field are JSON objects and accesses them with the subscription operator without validating their type, causing an assertion failure when they are not objects.

Impact

An attacker could reboot the camera remotely, and some variants do not require authentication, though most require a logged-in user or chaining with another vulnerability.

What the attacker needed

Network access to the camera; logged-in session for most variants; no auth for the array-element variant

How it was found

  1. Send an HTTP POST request to the camera's cgi-bin API endpoint with a JSON body containing a command.
  2. Include a param field whose value is a string rather than an object, or make an array element a string.
  3. The CGI server parses the body and reaches the assertion, killing the process.
  4. The device reboots because the CGI process cannot send its heartbeat.

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 runs a small web server that accepts commands in a JSON format. The code expects every command and its parameters to be a structured object, but it does not check this before using them. When it receives a plain string instead, the program hits an internal safety check and stops, which makes the camera restart.

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.