2021-05-19 20:09:21 +00:00
|
|
|
id: springboot-beans
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Detect Springboot Beans Actuator
|
|
|
|
author: ajaysenr
|
|
|
|
severity: low
|
|
|
|
description: Displays a complete list of all the Spring beans in the application
|
2023-06-30 22:40:59 +00:00
|
|
|
tags: springboot,exposure,misconfig
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 2
|
2021-05-19 20:09:21 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-05-19 20:09:21 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/beans"
|
|
|
|
- "{{BaseURL}}/actuator/beans"
|
2022-07-28 08:22:29 +00:00
|
|
|
|
|
|
|
stop-at-first-match: true
|
2021-05-19 20:09:21 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- '"type"'
|
|
|
|
- '"beans"'
|
|
|
|
- '"dependencies"'
|
|
|
|
- '"scope"'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
- "application/vnd.spring-boot.actuator"
|
|
|
|
- "application/vnd.spring-boot.actuator.v1+json"
|
|
|
|
condition: or
|
|
|
|
part: header
|