id: springboot-dump

info:
  name: Detect Springboot Dump Actuator
  author: pussycat0x
  severity: low
  description: Performs a thread dump
  metadata:
    max-request: 2
  tags: springboot,exposure,misconfig

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

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "threadName"
          - "threadId"
          - "waitedTime"
          - "lockName"
          - "stackTrace"
          - "methodName"
        condition: and

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