Skip to content
DoS Advisory Intermediate CVE-2022-35266CVE-2022-35265CVE-2022-35267CVE-2022-35262CVE-2022-35261CVE-2022-35264CVE-2022-35263CVE-2022-35271CVE-2022-35270CVE-2022-35269CVE-2022-35268

Robustel R1510 web_server hashFirst denial of service vulnerability

The web server's hashFirst function uses an assert that does not stop execution, so an invalid hash table identifier (such as -1 when no files are present in a POST request) is used as an array index, causing a segmentation fault. An authenticated attacker can send a POST request without files to certain import APIs to crash the web server, resulting in denial of service.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

Medium 4.9 View original

A denial of service vulnerability exists in the webserver hashFirst functionality of Robustel R1510 3.1.16 and 3.3.0. A specially-crafted network request can lead to denial of service.

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 library's assert macro does not abort on failure, so an invalid hash table identifier is used as an array index without bounds checking.

Impact

An authenticated attacker could crash the web server, causing a denial of service.

What the attacker needed

Authentication with high privileges; network access to the web server

The fix

The vendor released a patch on 2022-09-27.

How it was found

  1. Send a POST request to one of the listed import APIs without including any files.
  2. The server sets the files hash identifier to -1.
  3. The hashFirst function uses -1 as an array index, causing a segmentation fault and crashing the web server.

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.

The router's web server has a function that looks up items in a list. When the list is missing, the code still tries to use a placeholder value as a position in an array, which is like looking for the -1st item in a row. This crashes the server, so anyone who can log in and send a specially crafted request can take the web interface offline.

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.