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