id: firebase-debug-log

info:
  name: Firebase Debug Log File Exposure
  author: Hardik-Solanki
  severity: low
  description: Firebase debug log file was exposed.
  reference:
    - https://github.com/maurosoria/dirsearch/blob/master/db/dicc.txt
  metadata:
    verified: true
    max-request: 1
    github-query: filename:firebase-debug.log
  tags: exposure,firebase,logs,debug

http:
  - method: GET
    path:
      - "{{BaseURL}}/firebase-debug.log"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '[debug]'
          - 'firebase'
          - 'googleapis.com'
        condition: and

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