id: firebase-detect

info:
  name: firebase detect
  author: organiccrap
  severity: low
  reference:
    - http://ghostlulz.com/google-exposed-firebase-database/
  metadata:
    max-request: 1
  tags: tech,firebase

http:
  - method: GET
    path:
      - "{{BaseURL}}/.settings/rules.json?auth=FIREBASE_SECRET"

    matchers:
      - type: word
        words:
          - "Could not parse auth token"
        part: body
# digest: 490a004630440220171c5a66553d610988b71f911695513ab98471e1b2315260f1a4d6358b7b3c390220394d653d9f537e3d4ca54f8133681f310021ddf69a719eefd00146c0631fa052:922c64590222798bb761d5b6d8e72950