xsspresso
xsspresso
WriteupsVHL — Graphs01
WebMediumLinux

VHL — Graphs01

Cacti network monitoring on Ubuntu. Exploited CVE-2022-46169 unauthenticated RCE in Cacti for initial shell access.

February 16, 2025Virtual Hacking Labs
#Cacti#CVE-2022-46169#RCE#Monitoring

nmap

sh
nmap -sC -sV -T4 -A -Pn -p- --open 10.11.2.245
Starting Nmap 7.94SVN ( https://nmap.org ) at 2025-02-16 22:12 EST
Nmap scan report for 10.11.2.245
Host is up (0.023s latency).
Not shown: 65532 closed tcp ports (reset)
PORT   STATE SERVICE VERSION
21/tcp open  ftp     vsftpd 3.0.3
22/tcp open  ssh     OpenSSH 7.6p1 Ubuntu 4ubuntu0.3 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey: 
|   2048 4f:a7:b3:62:96:bb:a4:ab:c5:c0:f0:48:cd:f0:2d:91 (RSA)
|   256 8e:41:64:bf:5f:c4:f1:f8:1d:9d:c4:57:3c:d3:b8:79 (ECDSA)
|_  256 fa:4f:7a:ea:78:f8:3a:7e:27:b9:18:d8:a2:c6:65:32 (ED25519)
80/tcp open  http    Apache httpd 2.4.29 ((Ubuntu))
|_http-server-header: Apache/2.4.29 (Ubuntu)
|_http-title: Login to Cacti
No exact OS matches for host (If you know what OS is running on it, see https://nmap.org/submit/ ).
TCP/IP fingerprint:
OS:SCAN(V=7.94SVN%E=4%D=2/16%OT=21%CT=1%CU=34683%PV=Y%DS=2%DC=I%G=Y%TM=67B2
OS:A959%P=x86_64-pc-linux-gnu)SEQ(SP=100%GCD=1%ISR=108%TI=Z%II=I%TS=A)SEQ(S
OS:P=101%GCD=1%ISR=108%TI=Z%II=I%TS=A)SEQ(SP=FF%GCD=1%ISR=108%TI=Z%II=I%TS=
OS:A)OPS(O1=M5B4ST11NW7%O2=M5B4ST11NW7%O3=M5B4NNT11NW7%O4=M5B4ST11NW7%O5=M5
OS:B4ST11NW7%O6=M5B4ST11)WIN(W1=FE88%W2=FE88%W3=FE88%W4=FE88%W5=FE88%W6=FE8
OS:8)ECN(R=Y%DF=Y%T=40%W=FAF0%O=M5B4NNSNW7%CC=Y%Q=)T1(R=Y%DF=Y%T=40%S=O%A=S
OS:+%F=AS%RD=0%Q=)T2(R=N)T3(R=N)T4(R=N)T5(R=Y%DF=Y%T=40%W=0%S=Z%A=S+%F=AR%O
OS:=%RD=0%Q=)T6(R=N)T7(R=N)U1(R=Y%DF=N%T=40%IPL=164%UN=0%RIPL=G%RID=G%RIPCK
OS:=G%RUCK=G%RUD=G)IE(R=Y%DFI=N%T=40%CD=S)
 
Network Distance: 2 hops
Service Info: OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel
 
TRACEROUTE
HOP RTT      ADDRESS
1   23.05 ms 10.11.2.245
 

21

sh
21/tcp open  ftp     vsftpd 3.0.3