• XSS.stack #1 – первый литературный журнал от юзеров форума

Need help pwning a site using tomcat server

crc32fast

CD-диск
Забанен
Регистрация
15.01.2022
Сообщения
11
Реакции
1
Пожалуйста, обратите внимание, что пользователь заблокирован
Hello folks, good day to you all.

I am pentesting a site which is using tomcat version 9.0.11. So far I haven't been able to make much progress

Things I already tried:
1. tomcat doesn't let you go to protected directories like /manager/html (where you can find an upload page) so I used path transversal (i.e. site.com/..;/protected_dir) to access that directory, more detail about this mentioned below.
I was able to access that path but requires authentication, I have tried default ones but doesn't seem to be working.
Path Traversal (..;/)
In some vulnerable versions of Tomcat you can access to protected directories in Tomcat using the path: /..;/
So, for example, you might be able to access the Tomcat manager page accessing: www.vulnerable.com/lalala/..;/manager/html
Another way to bypass protected paths using this trick is to access http://www.vulnerable.com/;param=value/manager/html
2. There are some rce cve listed on tomcat security notice after 9.0.11 but they have special cases, I have not tried that yet

If anyone has any other ideas, I am glad to listen
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх