Skip to content
DoS Advisory Intermediate CVE-2018-4026

Novatek NT9665X XML_GetScreen Strncmp denial-of-service vulnerability

The XML_GetScreen Wi-Fi command in the NT9665X firmware fails to check the return value of a string search function, so a request path without a dot causes a null pointer dereference. An attacker on the same Wi-Fi network can send a crafted request to crash and reboot the dashcam.

Lilith >_> Follow

Originally disclosed on Cisco Talos

High 7.5 View original

An exploitable denial-of-service vulnerability exists in the XMLGetScreen Wi-Fi command of the NT9665X Chipset firmware, running on the Anker Roav A1 Dashcam, version “RoavA1SWV1.9.” A specially crafted set of packets can cause an invalid memory dereference, resulting in a device reboot.

Lilith [<_<], 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

Likely the code does not check whether the string search function returned NULL before using the result as a pointer.

Impact

An attacker on the same Wi-Fi network can cause the dashcam to reboot, leading to a denial of service.

What the attacker needed

Wi-Fi AP enabled on dashcam; Attacker connected to the dashcam's Wi-Fi network; No authentication required

The fix

The vendor fixed the issue and provided a patch to their IDH.

How it was found

  1. Enable the Wi-Fi AP on the dashcam and connect to its SSID.
  2. Call Wi-Fi command 3001 to allocate the temporary movie buffer.
  3. Send an HTTP request to the XML_GetScreen command (4001) with a path that contains no dot, only a dot, or only two dots.
  4. The device crashes and reboots.

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 dashcam runs a small web server that handles commands. One command tries to find a dot in the requested file name to check if it is a video, but it does not handle the case where no dot exists. This makes the device read from an invalid memory address and crash, forcing a reboot.

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 Lilith >_>

View all

5 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.