id: core-dump

info:
  name: Exposed Core Dump - File Disclosure
  author: kazet
  severity: medium
  description: Exposed Core Dump internal file is disclosed.
  reference:
    - https://github.com/hannob/snallygaster/blob/4c5a9b54501f64da96787c2a2e3a12ce2e09c1ab/snallygaster#L295
  metadata:
    verified: true
    max-request: 1
  tags: exposure,files,core-dump,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/core"

    matchers:
      - type: regex
        regex:
          - '^\x7fELF'
# digest: 4a0a00473045022100be7ff9d63a1d24f95470ba6acc1e8c042f62be26ab7bed4cfb8ac2466eb1cf1602200c8870bb5314612fd31c0b5d1217182eed2f3a88d479b5b7c9a35b8823e5b756:922c64590222798bb761d5b6d8e72950