Skip to content

Jolokia - Searching MBeans

ID: jolokia-mbean-search

Severity: low

Author: pussycat0x

Tags: jolokia,springboot,mbean,tomcat,misconfig

Unauth users can search Mbeans in Jolokia.

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: 4b0a00483046022100b324db6468d10dfd9dfc4e09417146891e944ff826f75d5737e6b977e2736fbc022100b024343c25c0c5040baa3bf1f8b76c748a2868478c84193a177503bcc528bbb7:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/misconfiguration/jolokia/jolokia-mbean-search.yaml"

View on Github