id: vertigis-detect

info:
  name: VertiGIS - Detect
  author: righettod
  severity: info
  description: |
    VertiGIS products was detected.
  reference:
    - https://www.vertigis.com/
  metadata:
    verified: true
    max-request: 9
    shodan-query: http.title:"vertigis"
  tags: tech,vertigis,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/login"
      - "{{BaseURL}}/GeoManLogin.aspx"
      - "{{BaseURL}}/FM/GeoManLogin.aspx"
      - "{{BaseURL}}/GEBman/GeoManLogin.aspx"
      - "{{BaseURL}}/Geoportal/synserver"
      - "{{BaseURL}}/vertigisstudio/web/designer/locales/en/translations.json"
      - "{{BaseURL}}/vertigisstudio/search/designer/locales/en/translations.json"
      - "{{BaseURL}}/vertigisstudio/mobile/designer/locales/en/translations.json"
      - "{{BaseURL}}/vertigisstudio/accesscontrol/locales/en/translations.json"

    stop-at-first-match: true
    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_any(to_lower(body), "<title>vertigis", "welcome to vertigis", "vertigis fm - login", "<title>weboffice landing page" , "vertigis studio app designer", "vertigis studio web designer", "vertigis studio access control")'
        condition: and
# digest: 4b0a00483046022100a04939c83d48f6c168d777dc175ebb23c9b721bd14af5b910571dd9cef9fa4e4022100eb0887ad4a373682a9186d877f1014f0e33e46c676cfe30c86a61a04cf189cd6:922c64590222798bb761d5b6d8e72950