Jolokia file write to RCE jfr
ID: jolokia-createstandardhost-rce
Severity: critical
Author: laluka,pathtaga
Tags: jolokia,rce
Description
Section titled “Description”File read and file write to RCE by deploying a vhost with MBeanFactory/createStandardHost and DiagnosticCommand/jfrStart
YAML Source
Section titled “YAML Source”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:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”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.
$ nuclei -u "URL" -t "http/vulnerabilities/jolokia/jolokia-createstandardhost-rce.yaml"