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.
Originally disclosed on Cisco Talos
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.
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
- Send a POST request to one of the listed import APIs without including any files.
- The server sets the files hash identifier to -1.
- 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.