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: 4a0a00473045022073084536d8e7d8c111145984b84ba3c178b894f9fda44ad92a9140df70a37c7c0221009bf4b8a6547c974f0a3571d68495c5d051008c7d21c7f4fa364b337134545a45:922c64590222798bb761d5b6d8e72950