CVE-2020-15811
JSON

6.5medium

An issue was discovered in Squid before 4.13 and 5.x before 5.0.4.

Severity
6.5medium CVSS:3.1 by NVD
Exploit likelihood
3.81% (higher than 90% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

Description

An issue was discovered in Squid before 4.13 and 5.x before 5.0.4. Due to incorrect data validation, HTTP Request Splitting attacks may succeed against HTTP and HTTPS traffic. This leads to cache poisoning. This allows any client, including browser scripts, to bypass local security and poison the browser cache and any downstream caches with content from an arbitrary source. Squid uses a string search instead of parsing the Transfer-Encoding header to find chunked encoding. This allows an attacker to hide a second request inside Transfer-Encoding: it is interpreted by Squid as chunked and split out into a second request delivered upstream. Squid will then deliver two distinct responses to the client, corrupting any downstream caches.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
squid-cache squidbefore 4.13, from 5.0 before 5.0.4NVD
canonical ubuntu_linux16.04, 18.04, 20.04NVD
debian debian_linux9.0, 10.0NVD
fedoraproject fedora31, 32, 33NVD
opensuse leap15.1, 15.2NVD

All scores

NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
NVD4.0medium CVSS:2.0AV:N/AC:L/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

An issue was discovered in Squid before 4.13 and 5.x before 5.0.4. Due to incorrect data validation, HTTP Request Splitting attacks may succeed against HTTP and HTTPS traffic. This leads to cache poisoning. This allows any client, including browser scripts, to bypass local security and poison the browser cache and any downstream caches with content from an arbitrary source. Squid uses a string search instead of parsing the Transfer-Encoding header to find chunked encoding. This allows an attacker to hide a second request inside Transfer-Encoding: it is interpreted by Squid as chunked and split out into a second request delivered upstream. Squid will then deliver two distinct responses to the client, corrupting any downstream caches.

NVD (es)

Se detectó un problema en Squid versiones anteriores a 4.13 y versiones 5.x anteriores a 5.0.4. Debido a la comprobación de datos incorrecta, los ataques de División de Peticiones HTTP pueden tener éxito contra el tráfico HTTP y HTTPS. Esto conlleva al envenenamiento de la caché. Esto permite a cualquier cliente, incluyendo los scripts del navegador, omitir la seguridad local y envenenar la caché del navegador y cualquier caché aguas abajo con contenido de una fuente arbitraria. Squid usa una búsqueda de cadenas en lugar de analizar el encabezado Transfer-Encoding para encontrar codificación fragmentada. Esto permite a un atacante ocultar una segunda petición dentro de Transfer-Encoding: Squid la interpreta como fragmentada y dividida en una segunda petición entregada en sentido ascendente. Squid luego entregará dos respuestas distintas al cliente, corrompiendo cualquier caché aguas abajo

References

https://github.com/squid-cache/squid/security/advisories/GHSA-c7p8-xqhm-49wvpatch
https://www.debian.org/security/2020/dsa-4751mailing-list, third-party-advisory, vendor-advisory
https://usn.ubuntu.com/4477-1/third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HJJDI7JQFGQLVNCKMVY64LAFMKERAOK7/mailing-list, third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BMTFLVB7GLRF2CKGFPZ4G4R5DIIPHWI3/mailing-list, third-party-advisory, vendor-advisory
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00012.htmlmailing-list, third-party-advisory, vendor-advisory
http://lists.opensuse.org/opensuse-security-announce/2020-09/msg00017.htmlmailing-list, third-party-advisory, vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BE6FKUN7IGTIR2MEEMWYDT7N5EJJLZI2/mailing-list, third-party-advisory, vendor-advisory
https://usn.ubuntu.com/4551-1/third-party-advisory, vendor-advisory
https://lists.debian.org/debian-lts-announce/2020/10/msg00005.htmlmailing-list, third-party-advisory
https://security.netapp.com/advisory/ntap-20210219-0007/third-party-advisory
https://security.netapp.com/advisory/ntap-20210226-0007/broken-link, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2020-15811 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-15811 changed 2026-06-17Public domain