Skip to content
Access control Advisory Advanced CVE-2024-6248

(Pwn2Own) Wyze Cam v3 Cloud Infrastructure Improper Authentication Remote Code Execution Vulnerability

The cloud infrastructure's run_action_batch endpoint used the device's MAC address as the only authentication credential. A network-adjacent attacker could exploit this, in combination with other vulnerabilities, to execute arbitrary code as root on affected cameras.

Rafal Goryl Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Wyze Cam v3 IP cameras. Authentication is not required to exploit this vulnerability.

Rafal Goryl, on the Zero Day Initiative

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 cloud endpoint authenticated devices solely by their MAC address, which is not a secret.

Impact

A network-adjacent attacker could execute arbitrary code as root on affected cameras, but only in conjunction with other vulnerabilities.

What the attacker needed

Network-adjacent access; knowledge of the device MAC address; other vulnerabilities chained

The fix

Wyze issued an update to correct the vulnerability.

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.

A MAC address is a hardware identifier that is not secret and can be easily learned or guessed. The cloud service treated knowing this identifier as proof of identity, so anyone who knew it could act as the device. Combined with other flaws, this let an attacker run their own code on the camera with the highest level of permission.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.