Seal

Recon & Enum

port scan

PORT     STATE SERVICE
22/tcp   open  ssh
443/tcp  open  https
8080/tcp open  http-proxy

directory scan

https://seal.htb/admin
https://seal.htb/images
https://seal.htb/css
https://seal.htb/js
https://seal.htb/manager
https://seal.htb/icon

a static website is running on , not worth it

gitbucket is running on , got a login page and a signup functionality i found a tomcat-user.xml file in commit which gives me credentials of manager page

we got credentials :- <user username="tomcat" password="42MrHBf*z8{Z%" roles="manager-gui,admin-gui"/>

shell as tomcat

https://seal.htb/manager

when i try to access the page it gave me 403 forbidden from ngnix and from tomcat , by this i searched google and i found this

https://i.blackhat.com/us-18/Wed-August-8/us-18-Orange-Tsai-Breaking-Parser-Logic-Take-Your-Path-Normalization-Off-And-Pop-0days-Out-2.pdfarrow-up-right

after getting in , i got upload functionality on apache tomcat through which i can upload WAR file

Last updated