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

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