Skip to content

Jolokia file write to RCE jfr

ID: jolokia-createstandardhost-rce

Severity: critical

Author: laluka,pathtaga

Tags: jolokia,rce

File read and file write to RCE by deploying a vhost with MBeanFactory/createStandardHost and DiagnosticCommand/jfrStart

id: jolokia-createstandardhost-rce
info:
name: Jolokia file write to RCE jfr
author: laluka,pathtaga
severity: critical
description: File read and file write to RCE by deploying a vhost with MBeanFactory/createStandardHost and DiagnosticCommand/jfrStart
reference:
- https://github.com/laluka/jolokia-exploitation-toolkit
tags: jolokia,rce
http:
- method: GET
path:
- "{{BaseURL}}/jolokia/list"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "\"desc\":\"Create a new StandardHost\""
- "\"desc\":\"Array of Diagnostic Commands Arguments and Options\""
condition: and
# digest: 4a0a00473045022100846339e85ad86f92a0603bffc215dcacaa855ff6025e3fa8ab8a87341e538f4802206017654c42b1f48a4fef1f75da3d455c7b0a1553c5945ebf871693307c192253: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/vulnerabilities/jolokia/jolokia-createstandardhost-rce.yaml"

View on Github