id: arcgis-token-service-detect

info:
  name: ArcGIS Token Service - Detect
  author: HeeresS
  severity: info
  description: Check for the existence of the ArcGIS Token Service on an ArcGIS server.
  reference:
    - https://enterprise.arcgis.com/en/
  classification:
    cpe: cpe:2.3:a:esri:arcgis_server:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: esri
    product: arcgis_server
    shodan-query:
      - title:"ArcGIS"
      - http.title:"arcgis"
    fofa-query: title="arcgis"
    google-query: intitle:"arcgis"
  tags: tech,arcgis,tokens,detect,esri,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/arcgis/tokens/'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'alt="ArcGIS Token Service'

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