id: drupal-install

info:
  name: Drupal Install
  author: NkxxkN
  severity: high
  description: Drupal Install panel exposed.
  metadata:
    max-request: 2
    shodan-query:
      - http.component:"drupal"
      - cpe:"cpe:2.3:a:drupal:drupal"
    product: drupal
    vendor: drupal
  tags: misconfig,drupal,install,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/install.php?profile=default"
      - "{{BaseURL}}/core/install.php"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 1
    matchers:
      - type: word
        words:
          - "<title>Choose language | Drupal</title>"
# digest: 4a0a00473045022043a9b5af9dae0c9433cce28600bb3bb733c15426d98784d51cf9e7f8f97d7ded0221008220c928832f3356c1798df2881a64837719e6eec5b7533e2f0752818e6401b6:922c64590222798bb761d5b6d8e72950