id: tibco-spotfire-services-detect

info:
  name: TIBCO Spotfire Statistics Services - Detect
  author: righettod
  severity: info
  description: |
    TIBCO Spotfire Statistics Services was detected.
  reference:
    - https://docs.tibco.com/products/tibco-spotfire-statistics-services
  classification:
    cpe: cpe:2.3:a:tibco:spotfire_statistics_services:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 4
    vendor: tibco
    product: spotfire_statistics_services
    shodan-query: "TIBCO Spotfire Server"
  tags: tech,tibco,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/SplusServer/"
      - "{{BaseURL}}/RServer/"
      - "{{BaseURL}}/TERR/"
      - "{{BaseURL}}"

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'contains_any(to_lower(body), "tibco spotfire statistics services", "spotfire statistics services")'
          - 'contains(header, "TIBCO Spotfire Server")'
        condition: or

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'Version\s+([0-9.\s\(\)V]+)'
# digest: 4b0a00483046022100d90e2df0c1c9e06d46eb81589930b87dfca5d08c21dcb5482eff8efc6ad4e18b022100ddb21583ea4ed8ec1c160fa8014ba3c7a79c4d75ef3e3af550bfd689fce3ecb4:922c64590222798bb761d5b6d8e72950