漏洞描述
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,vuln
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: 4b0a00483046022100c6c2901cea78453192cd79ae2955a010597261972608c510e1e609e101b64053022100e90bf2ec4a2dfff29e35425b4e15a11ffd4e392bcc63cea7ebf2307e2077945a:922c64590222798bb761d5b6d8e72950