Adhyan Agarwal logoadhyan agarwal
BACK TO ARCHIVE
HTB|2026.03.07

CCTV — ZoneMinder SQLi to MotionEye Authenticated RCE

OS

Linux

Difficulty

Easy

Category

WEB

Released

2026.03.07

Logged into ZoneMinder with default creds, dumped user hashes via CVE-2024-51482 SQL injection to crack mark's SSH password. Sniffed sa_mark's plaintext creds off an internal Docker service with tcpdump, then escalated to root through MotionEye authenticated RCE (CVE-2025-60787).

Want to try this box yourself?

Spoiler-free mode is on by default — every solution stays hidden behind a reveal. Peek the hints, attempt each step, then unlock the answer when you're stuck. Turn it off to read every solution inline.

Nmap

We add the domain to /etc/hosts:

Web Enumeration

Website Enumeration

Initial Foothold

Shell as sa_mark

Shell as root