Detect Springboot Beans Actuator
ID: springboot-beans
Severity: low
Author: ajaysenr
Tags: springboot,exposure,misconfig
Description
Section titled “Description”Displays a complete list of all the Spring beans in the application
YAML Source
Section titled “YAML Source”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 metadata: max-request: 2 tags: springboot,exposure,misconfig
http: - method: GET path: - "{{BaseURL}}/beans" - "{{BaseURL}}/actuator/beans"
stop-at-first-match: true
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# digest: 4a0a00473045022100c0bef4cfc2861440cde4f244ff1c1d49f9ae639aa0a0a27494819b93cf6aafe30220047d36d93f8196128b1050dcff315651a2c60cf1b2c2ee8b178acba0bc308a6b:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/misconfiguration/springboot/springboot-beans.yaml"