id: tileserver-gl

info:
  name: TileServer GL Page - Detect
  author: DhiyaneshDK
  severity: info
  description: TileServer GL page was detected.
  reference:
    - https://www.exploit-db.com/ghdb/7296
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    max-request: 1
    shodan-query: http.title:"TileServer GL - Server for vector and raster maps with GL styles"
    google-query: intitle:"TileServer GL - Server for vector and raster maps with GL styles"
  tags: tech,tileserver,edb

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

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>TileServer GL - Server for vector and raster maps with GL styles</title>"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'Powered by TileServer GL \(([a-z- 0-9.]+)\)'

# digest: 4a0a0047304502210087d65319a02a67230a3e33dd61e36144b0fbe6f00c0be3745af98466e59d08f002207eed5908e0d8b49ebfaf63b562d2fdbb9b0355d4d71a5c630aa4ae56453c76b7:922c64590222798bb761d5b6d8e72950
