id: webcalendar-install

info:
  name: WebCalendar Exposed Installation
  author: ritikchaddha
  severity: high
  description: WebCalendar is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:k5n:webcalendar:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: k5n
    product: webcalendar
    shodan-query: title:"WebCalendar Setup Wizard"
    fofa-query: title="WebCalendar Setup Wizard"
  tags: misconfig,webcalendar,install

http:
  - method: GET
    path:
      - "{{BaseURL}}/install/index.php"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>WebCalendar Setup Wizard'
          - '>WebCalendar Installation Wizard'
        condition: or

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