Create springboot-beans.yaml

patch-1
Ajaysen R 2021-05-20 01:39:21 +05:30 committed by GitHub
parent aabf384e39
commit 842d62bb40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
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
tags: springboot,disclosure
requests:
- method: GET
path:
- "{{BaseURL}}/beans"
- "{{BaseURL}}/actuator/beans"
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