PT-2018-5986 · Apache · Apache Sling Xss Protection Api

Publicado

2018-01-10

·

Atualizado

2022-05-14

·

CVE-2017-15717

CVSS v3.1

6.1

Média

VetorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions: Apache Sling XSS Protection API versions 1.0.4 through 1.0.18 Apache Sling XSS Protection API Compat version 1.1.0 Apache Sling XSS Protection API version 2.0.0
Description: A flaw in the way URLs are escaped and encoded in the org.apache.sling.xss.impl.XSSAPIImpl#getValidHref and org.apache.sling.xss.impl.XSSFilterImpl#isValidHref allows specially crafted URLs to pass as valid, although they carry XSS payloads.
Recommendations: For Apache Sling XSS Protection API versions 1.0.4 through 1.0.18, update to a version outside of this range to resolve the issue. For Apache Sling XSS Protection API Compat version 1.1.0, consider disabling the org.apache.sling.xss.impl.XSSAPIImpl#getValidHref and org.apache.sling.xss.impl.XSSFilterImpl#isValidHref functions until a patch is available. For Apache Sling XSS Protection API version 2.0.0, restrict the use of the org.apache.sling.xss.impl.XSSAPIImpl#getValidHref and org.apache.sling.xss.impl.XSSFilterImpl#isValidHref functions to minimize the risk of exploitation.

Correção

XSS

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2017-15717
GHSA-7MFW-43C4-45MQ

Produtos afetados

Apache Sling Xss Protection Api