Description
File read and file write to RCE by deploying a vhost with MBeanFactory/createStandardHost and DiagnosticCommand/jfrStart
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,idealphase
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
classification:
cwe-id: CWE-15,CWE-94
tags: jolokia,rce,vuln
http:
- method: GET
path:
- "{{BaseURL}}/jolokia/list"
- "{{BaseURL}}/actuator/jolokia/list"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "\"desc\":\"Create a new StandardHost\""
- "\"desc\":\"Array of Diagnostic Commands Arguments and Options\""
condition: and
- type: status
status:
- 200
# digest: 490a0046304402204c3cc1c3ea5225ae418a3ac7ec557cf0b2b8d2a3c12cc7776b2fc70a8737a18302203026eae551518bac26da737d2edef412d86aef292dd72b18d70aa2d6c61e5587:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.