Web
Nmap discovered a Web server on the target port 80
The running service is Apache httpd 2.4.18 ((Ubuntu))
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/pebbles]
└─$ curl -I -X OPTIONS http://$IP:8080/
HTTP/1.1 200 OK
Date: Tue, 11 Mar 2025 17:56:31 GMT
Server: Apache/2.4.18 (Ubuntu)
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/pebbles]
└─$ curl -I http://$IP:8080/
HTTP/1.1 200 OK
Date: Tue, 11 Mar 2025 17:56:38 GMT
Server: Apache/2.4.18 (Ubuntu)
Content-Type: text/html; charset=UTF-8
Webroot
It’s a default Apache Tomcat installation page
Version information can be found at the
RELEASE-NOTES.TXT
file; Apache Tomcat Version 9.0.30
Interestingly the default,
/manager/html
and /host-manager/html
are not available
Fuzzing
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/pebbles]
└─$ ffuf -c -w /usr/share/wordlists/seclists/Discovery/Web-Content/directory-list-lowercase-2.3-medium.txt -u http://$IP:8080/FUZZ -ic
________________________________________________
:: Method : GET
:: URL : http://192.168.209.52:8080/FUZZ
:: Wordlist : FUZZ: /usr/share/wordlists/seclists/Discovery/Web-Content/directory-list-lowercase-2.3-medium.txt
:: Follow redirects : false
:: Calibration : false
:: Timeout : 10
:: Threads : 40
:: Matcher : Response status: 200-299,301,302,307,401,403,405,500
________________________________________________
[Status: 200, Size: 11074, Words: 4210, Lines: 197, Duration: 29ms]
javascript [Status: 301, Size: 328, Words: 20, Lines: 10, Duration: 21ms]
zm [Status: 301, Size: 320, Words: 20, Lines: 10, Duration: 22ms]
server-status [Status: 403, Size: 281, Words: 20, Lines: 10, Duration: 19ms]
:: Progress: [207630/207630] :: Job [1/1] :: 2040 req/sec :: Duration: [0:02:11] :: Errors: 0 ::
zm
zm
There is a ZoneMinder instance running at the
/zm/
endpoint