Skip to content
Crypto Advisory Advanced CVE-2026-86587

Hangzhou Hikvision Digital Technology Co., Ltd. EZVIZ CS-C6N cloud snapshot improper certificate validation vulnerability

The EZVIZ CS-C6N camera's snapshot upload routine disables TLS certificate validation by setting mbedTLS's authmode to VERIFY_NONE, so the camera accepts any certificate presented to it. An on-path attacker can impersonate the cloud server, intercept the uploaded snapshot, and recover it, including decrypting encrypted snapshots when the camera uses its default verification code.

Chi-en Shen Follow

Originally disclosed on Cisco Talos

Medium 5.9 View original

A improper certificate validation vulnerability exists in the cloud snapshot functionality of EZVIZ CS-C6N (version(s): V5.3.8 build 241021). A specially crafted series of network requests can lead to a disclosure of sensitive information.

Chi-en (Ashley) Shen, 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

The upload routine loads mbedTLS's secure defaults and then immediately overrides authmode to VERIFY_NONE, so the certificate validity check is skipped during the handshake and the verify result is never consulted.

Impact

An on-path attacker can intercept snapshots with no certificate trust and no user action, recovering them as plaintext when encryption is off and decrypting them when a default verification code is used; a user-changed strong password resists this.

What the attacker needed

On-path network position; camera uploads a snapshot; default code for encrypted snapshots

The fix

The vendor says it was fixed via a server-side configuration update that enforces mandatory TLS certificate authentication and terminates the connection on verification failure.

How it was found

  1. Take an on-path position on the camera's network or an upstream hop.
  2. Run a transparent TLS terminator presenting any certificate, since the camera never checks it.
  3. Capture the snapshot upload request to the cloud endpoint.
  4. If encryption is off, read the raw JPEG directly from the body.
  5. If encryption is on, recover the verification code offline from the leaked hash and decrypt the image.

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.

When a device connects to a server over an encrypted link, it should check the server's certificate, which is like an ID card proving the server is genuine. This camera skips that check, so anyone who can sit on the network path can pretend to be the cloud and read the pictures the camera sends. The pictures are still scrambled in transit, but the camera never confirms who is on the other end.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by Chi-en Shen

View all

1 more disclosed report, 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.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.