id: firebase-urls

info:
  name: Google Firebase DB URL Finder
  author: panch0r3d
  severity: info
  description: Find firebaseio urls to check for security permissions
  metadata:
    max-request: 1
  tags: tech,firebase,google

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

    host-redirects: true
    max-redirects: 1

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - ".*?(f|F)(i|I)(r|R)(e|E)(b|B)(a|A)(s|S)(e|E)(i|I)(o|O)[.](c|C)(o|O)(m|M).*?"
        part: body
# digest: 4a0a00473045022057c91ebf635e98c9fa962654b091efc4b12dfd12060935499e26b2a1814e400c022100b27313667a436a8c1c8c0c71b3730ab618bf06f9b439b5918afc8264eec782ca:922c64590222798bb761d5b6d8e72950