Skip to content
Memory corruption Advisory Advanced CVE-2025-8389

(Pwn2Own) Lorex 2K Indoor Wi-Fi Security Camera Improper Validation of Array Index Remote Code Execution Vulnerability

Requests sent to a TCP port on the camera are processed without properly validating user-supplied data, causing a read past the end of an array. A network-adjacent attacker without authentication could combine this with other flaws to run code as root.

PhuDQ 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 Lorex 2K Indoor Wi-Fi Security Cameras. Authentication is not required to exploit this vulnerability.

phudq and namnp from Viettel Cyber Security, 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

Likely an out-of-bounds array read caused by missing bounds checks on data received over the network service.

Impact

A network-adjacent, unauthenticated attacker could chain this flaw with others to execute code as root on the camera.

What the attacker needed

Network-adjacent access to the camera; no authentication needed; chained with other vulnerabilities

The fix

It was fixed in firmware version V2.800.0000000.8.R.20241111.

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 security camera that listens for network messages on a particular port. When it handles those messages it does not check the data carefully enough, so it can read memory beyond the intended boundary. That kind of mistake can let someone on the same network, without logging in, take control of the device, though here it needs to be combined with another weakness.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by PhuDQ

View all

1 more disclosed report, best first.

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.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.