id: citrix-xenmobile-version info: name: Citrix XenMobile Version - Detect author: Puben severity: info description: | Template for XenMobile-detection (even if login-page is deactivated) and the specific version and rolling patch from js/app/init.js endpoint classification: cpe: cpe:2.3:a:citrix:xenmobile_server:*:*:*:*:*:*:*:* metadata: verified: true max-request: 2 vendor: citrix product: xenmobile_server shodan-query: "title:\"XenMobile - Console\"" tags: tech,edb,citrix,version,detect flow: http(1) && http(2) http: - method: GET path: - '{{BaseURL}}' matchers: - type: dsl dsl: - 'status_code == 302' - 'contains(header, "Location: /zdm/login_xdm_uc.jsp")' condition: and internal: true - method: GET path: - '{{BaseURL}}/js/app/init.js' matchers-condition: and matchers: - type: regex name: version part: body regex: - 'v=([^"]+)' - type: status status: - 200 extractors: - type: regex part: body group: 1 regex: - 'v=([^"]+)' # digest: 490a00463044022037fafa00c52ed1a7ae7cbeac62c9bc25fffd949ff5e5cd06ac6b17737b65a2e1022059a7d7e8b2d5e64d5be9cccad5282a75855f54a2c6c4fe98142dfc261e824c39:922c64590222798bb761d5b6d8e72950