id: springboot-features

info:
  name: Detects Springboot Features Actuator
  author: DhiyaneshDK
  severity: low
  description: Springboot Features Actuator is exposed.
  metadata:
    verified: true
    max-request: 2
    shodan-query: title:"Eureka"
  tags: misconfig,springboot,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/features"
      - "{{BaseURL}}/actuator/features"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"enabled":['
          - '"disabled":['
        condition: and

      - type: word
        part: header
        words:
          - "application/json"
          - "application/vnd.spring-boot.actuator"
          - "application/vnd.spring-boot.actuator.v1+json"
        condition: or

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100d88051a9e35b7a6c17adbb001d60f28c56140c58e8360bb711116a78afcd7b19022100ab55335d35a73e5b68ce13ac406abb5f027795c6033a95583f483e23a7e23f5f:922c64590222798bb761d5b6d8e72950