Skip to content
DoS Advisory Intermediate CVE-2018-4027

Novatek NT9665X XML_UploadFile WifiCmd denial-of-service vulnerability

A specially crafted HTTP request to the XML_UploadFile Wi-Fi command causes a semaphore deadlock, preventing the device from receiving any physical or network inputs. An attacker can send this request to lock up the device, requiring a reboot or battery drain to recover.

Lilith >_> Follow

Originally disclosed on Cisco Talos

Medium 5.3 View original

An exploitable denial-of-service vulnerability exists in the XMLUploadFile Wi-Fi command of the NT9665X Chipset firmware, running on the Anker Roav A1 Dashcam, version “RoavA1SWV1.9.” A specially crafted packet can cause a semaphore deadlock, which prevents the device from receiving any physical or network inputs. An…

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 XML_UploadFile command returns early without unlocking the global WIFICMD_SEM_ID semaphore when the request lacks a 'par' parameter, causing a deadlock.

Impact

The device becomes unresponsive to all network and physical inputs, including the power button, and can only be recovered by battery drain or a Wi-Fi reset via buttons (if still possible), effectively causing a denial of service.

What the attacker needed

Wi-Fi AP enabled on dashcam; Attacker on same 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 Wi-Fi AP on the dashcam and connect to its SSID.
  2. Send an HTTP POST request to the device's XML_UploadFile command (cmd=5001) without a 'par' parameter.
  3. Observe that the semaphore remains locked and further Wi-Fi commands are disabled.
  4. Send five more Wi-Fi requests of any type to cause the device to lock up completely.

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 is a denial-of-service bug in a dashcam's firmware. The camera uses a lock (semaphore) to ensure only one Wi-Fi command runs at a time. A malformed upload request makes the camera forget to release that lock, so all other commands hang and the device becomes unresponsive.

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.