id: grav-register-admin

info:
  name: Grav Register Admin User - Detect
  author: DhiyaneshDk
  severity: high
  description: Exposed Grav admin user register page.
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Grav Register Admin User"
  tags: grav,register,admin,misconfig

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Grav Register Admin User | Grav'
          - 'admin accounts'
        condition: and

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