id: limesurvey-detect

info:
  name: LimeSurvey Survey Software - Detect
  author: Matt Galligan
  severity: info
  description: |
    Limesurvey is the number one open-source survey software. Advanced features like branching and multiple question types make it a valuable partner for survey-creation.
  reference:
    - https://github.com/LimeSurvey/LimeSurvey
  classification:
    cpe: cpe:2.3:a:limesurvey:limesurvey:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: limesurvey
    product: limesurvey
    shodan-query: http.favicon.hash:1781653957
  tags: tech,limesurvey,discovery

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

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'content="LimeSurvey'
          - 'alt="LimeSurvey Survey Software'
          - 'data-limesurvey-lang='
          - 'alt="Powered by LimeSurvey'
        condition: or
        case-insensitive: true

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