35 lines
985 B
YAML
35 lines
985 B
YAML
id: jolokia-mbean-search
|
|
|
|
info:
|
|
name: Jolokia - Searching MBeans
|
|
author: pussycat0x
|
|
severity: low
|
|
description: Unauth users can search Mbeans in Jolokia.
|
|
reference:
|
|
- https://thinkloveshare.com/hacking/ssrf_to_rce_with_jolokia_and_mbeans/
|
|
- https://github.com/laluka/jolokia-exploitation-toolkit
|
|
metadata:
|
|
max-request: 2
|
|
tags: jolokia,springboot,mbean,tomcat,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/jolokia/search/*:test=test"
|
|
- "{{BaseURL}}/actuator/jolokia/search/*:test=test"
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '"type":"search"'
|
|
- '"value":'
|
|
condition: and
|
|
# digest: 4a0a00473045022018449d447d933ed89f189100ab178f9f31f303fe2cf58e3ae293ede4f071563e022100c28c5daaf0dd314bfff1d451b055f4625fade9c6f2ce5f2dc0f70be67061e05e:922c64590222798bb761d5b6d8e72950 |