id: unauth-etherpad

info:
  name: Unauthenticated Etherpad
  author: philippedelteil
  severity: low
  description: |
    Finds Etherpad instances that allow adding new notes without authentication.
  classification:
    cpe: cpe:2.3:a:etherpad:etherpad:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: etherpad
    product: etherpad
    shodan-query: http.html:"index.createOpenPad"
  tags: etherpad,misconfig,unauth

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "index.createOpenPad"
          - "index.newPad"
        condition: and

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