springboot-beans: Detect Springboot Beans Actuator

日期: 2025-08-01 | 影响软件: springboot beans | POC: 已公开

漏洞描述

Displays a complete list of all the Spring beans in the application

PoC代码[已公开]

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,vuln

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: 4b0a00483046022100d5b8dee89c5f939296b8a34774cda4596fd131c805c7a44d3d723bf3eb5d9143022100a37d12e64e174320b5d3f3d23360d987d9949743ff063ea8bc7186a677d8be18:922c64590222798bb761d5b6d8e72950

相关漏洞推荐