id: administrate-dashboard

info:
  name: Administrate Dashboard Exposure
  author: DhiyaneshDk
  severity: high
  description: |
    Administrate Dashboard was exposed.
  reference:
    - https://github.com/thoughtbot/administrate
  metadata:
    verified: true
    max-request: 1
    fofa-query: body="Administrate"
  tags: exposure,administrate,misconfig

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Search Customers'
          - 'Administrate'
          - 'New customer</a>'
        condition: and

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