id: springboot-status

info:
  name: Spring Boot Status Actuator Panel - Detect
  author: DhiyaneshDk
  severity: info
  description: Spring Boot Status Actuator panel was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 2
    shodan-query: title:"Eureka"
  tags: misconfig,springboot,exposure

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

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"freeMemory":'
          - '"maxMemory":'
        condition: and

      - type: status
        status:
          - 200

# digest: 490a00463044022032502b42ceda7654c508ae2a47f133e5283263b7510df09e203ee193e759f287022029a8ab583e8cbd42152dea1a483055def75ff07747fe74a3cfd7706195e7bb09:922c64590222798bb761d5b6d8e72950
