0xdf hacks stuff
Read post

HTB: CCTV

A walkthrough of the HackTheBox machine CCTV, covering multiple exploitation steps. Starting with CVE-2024-51482, a blind SQL injection in ZoneMinder v1.37.63's event handling, sqlmap is used with boolean-based techniques to dump user credentials and crack bcrypt hashes for SSH access. From there, tcpdump (configured with cap_net_raw capability) is used to sniff cleartext credentials from a custom management protocol, gaining access as sa_mark. Finally, CVE-2025-60787, an authenticated command injection in motionEye v0.43.1b4's still-image filename setting, is exploited by bypassing client-side JavaScript validation to achieve remote code execution as root. A bonus section covers an unintended path using Motion's unauthenticated HTTP control interface directly to inject commands, and a quirk in motionEye's password hashing that allows login with the SHA1 hash instead of the plaintext password.

    #security#sql
Jul 11•29m read time•From 0xdf.gitlab.io
Post cover image
Table of contents
Box InfoReconShell as markShell as sa_markShell as rootBeyond Root - Unintended Paths
360 Impressions
0xdf hacks stuff's image
0xdf hacks stuff

64 Followers

•

211 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard