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
|
2021-08-06 15:32:50 +00:00
|
|
|
tags: springboot,exposure
|
2021-05-19 20:09:21 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- 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
|