id: spip-install

info:
  name: SPIP Install - Exposure
  author: DhiyaneshDK
  severity: high
  description: SPIP is susceptible to the Installation page exposure due to misconfiguration.
  metadata:
    verified: "true"
    max-request: 1
  tags: exposure,spip,install,misconfig

http:
  - method: GET
    path:
      - "{{BaseURL}}/ecrire/?exec=install"

    host-redirects: true
    max-redirects: 1

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Installing publication system..."
          - "SPIP"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a0046304402207466c4ef512de38d9e35900a90c4d7ca95f210df12f9d03cb1f8ff0f705ac60f022016a5fb1abeb725c281922c5e56219da6c287f8e05d93457657a5587be3b67feb:922c64590222798bb761d5b6d8e72950