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
    cpe: cpe:2.3:a:tileserver:tileservergl:*:*:*:*:*:*:*:*
  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"
    product: tileservergl
    vendor: tileserver
  tags: tech,tileserver,edb,discovery

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: 4b0a00483046022100dfc4c52ff45674a129e8be495a295754883d2d70d7a5285a5dea7a4d93a2a3b1022100f34109adfcce1525582e7e28e74656895937f2e95a221f56999fe5aed151d572:922c64590222798bb761d5b6d8e72950