Skip to content
Info disclosure Advisory Advanced CVE-2019-5034

Nest Labs Nest Cam IQ Indoor Weave Legacy Pairing Information Disclosure Vulnerability

An out-of-bounds read in the Weave Legacy Pairing of Nest Cam IQ Indoor allows an attacker to send crafted packets that cause the device to include memory beyond the intended buffer in an HMAC calculation, potentially leaking sensitive memory contents. By brute-forcing the last byte of the HMAC, an attacker can disclose memory bytes and bypass memory randomisation.

Lilith Wyatt Follow

Originally disclosed on Cisco Talos

Medium 5.3 View original

An exploitable information disclosure vulnerability exists in the Weave Legacy Pairing functionality of Nest Cam IQ Indoor version 4620002. A set of specially crafted weave packets can cause an out of bounds read, resulting in information disclosure.

Lilith Wyatt and Claudio Bozzato, 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 copies a fixed-length nonce from the request without checking that the request buffer actually contains that many bytes, leading to an out-of-bounds read.

Impact

An attacker could disclose memory contents, potentially bypassing memory randomisation, but the CVSS score indicates only low confidentiality impact.

What the attacker needed

Network access to the device; ability to send Weave packets

How it was found

  1. Send a kEchoMessageType_EchoRequest packet to fill the bottom PacketBuffer slot.
  2. Send a kMsgType_CamAuthDataReq packet with the last byte of the nonce beyond the buffer, causing an out-of-bounds read.
  3. Receive the HMAC response and save it.
  4. Send a normal kMsgType_CamAuthDataReq with all 0x40 bytes controlled, brute-forcing the last byte until the HMAC matches the saved one.
  5. Repeat up to 0x40 times to leak memory bytes and defeat memory randomisation.

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 bug in a smart camera's setup protocol. The camera reads more data than it should from memory when creating a security code, and an attacker can use that to learn secret memory contents. This could help them break other protections.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Lilith Wyatt

View all

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

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.