Novatek NT9665X HFS Overwrite denial-of-service vulnerability
The dashcam's unauthenticated web server allowed an HTTP POST to overwrite the server's root directory with a plain file. This made the filesystem on the SD card disappear, disabled recording and photos, and on reboot the device reformatted the card, deleting all recordings.
An exploitable firmware update vulnerability exists in the NT9665X Chipset firmware running on the Anker Roav A1 Dashcam, version “RoavA1SWV1.9.” The HTTP server could allow an attacker to overwrite the root directory of the server, resulting in a denial of service. An attacker can send an HTTP POST request to trigger…
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
Likely the web server's file handling did not check whether a request target was an existing directory before writing to it, and the server ran with permissions that let it replace that directory.
Impact
An attacker on the camera's Wi-Fi could cause loss of all recordings and snapshots and disable recording and photography until reboot; combined with another flaw, the device could be made unusable until the battery drains.
What the attacker needed
Camera Wi-Fi AP enabled; attacker on the camera's Wi-Fi network; no authentication needed
The fix
The vendor fixed the issue and provided a patch to their independent design house.
How it was found
- Enable the Wi-Fi access point on the dashcam and connect to its network.
- Send an HTTP POST request to the server's root path.
- The root directory is replaced by a plain file and the SD card filesystem disappears.
- Reboot the device, which reformats the SD card and deletes all recordings.
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 camera runs a small web server that anyone on its Wi-Fi can reach without logging in. A request that should only create or upload a file could instead replace an important folder with a file, so the camera lost track of its storage. After a restart it wiped the memory card because the expected folders were gone.
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.