CVE-2019-12528
published 2020-02-04CVE-2019-12528: An issue was discovered in Squid before 4.10. It allows a crafted FTP server to trigger disclosure of sensitive information from heap memory, such as…
PriorityP347high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EPSS
10.49%
95.2th percentile
An issue was discovered in Squid before 4.10. It allows a crafted FTP server to trigger disclosure of sensitive information from heap memory, such as information associated with other users' sessions or non-Squid processes.
Affected
14 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | squid | < squid 4.10-1 (bookworm) | squid 4.10-1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| opensuse | leap | — | — |
| squid-cache | squid | < 4.10 | 4.10 |
| squid | squid | >= 0 < 4.10-1 | 4.10-1 |
| squid | squid | >= 0 < 4.10-1 | 4.10-1 |
| squid | squid | >= 0 < 4.10-1 | 4.10-1 |
| squid | squid | >= 0 < 4.10-1 | 4.10-1 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Squid vulnerabilities
vendor_ubuntu·2020-02-20·CVSS 7.5
CVE-2019-12528 [HIGH] Squid vulnerabilities
Title: Squid vulnerabilities
Summary: Several security issues were fixed in Squid.
Jeriko One discovered that Squid incorrectly handled memory when connected
to an FTP server. A remote attacker could possibly use this issue to obtain
sensitive information from Squid memory. (CVE-2019-12528)
Regis Leroy discovered that Squid incorrectly handled certain HTTP
requests. A remote attacker could possibly use this issue to access server
resources prohibited by earlier security filters. (CVE-2020-8449)
Guido Vranken discovered that Squid incorrectly handled certain buffer
operations when acting as a reverse proxy. A remote attacker could use
this issue to cause Squid to crash, resulting in a denial of service, or
possibly execute arbitrary code. (CVE-2020-8450)
Aaron Costello discovered that
Red Hat
squid: Information Disclosure issue in FTP Gateway
vendor_redhat·2020-02-02·CVSS 7.5
CVE-2019-12528 [HIGH] CWE-200 squid: Information Disclosure issue in FTP Gateway
squid: Information Disclosure issue in FTP Gateway
An issue was discovered in Squid before 4.10. It allows a crafted FTP server to trigger disclosure of sensitive information from heap memory, such as information associated with other users' sessions or non-Squid processes.
A flaw was found in squid. It allows a crafted FTP server to trigger disclosure of sensitive information from heap memory, such as information associated with other users' sessions or non-Squid processes.
Mitigation: As a workaround, it is possible to disable support for FTP. In order to do so, remove the following line from your squid configuration file:
acl Safe_ports 21
Then add the following lines to your squid configuration file:
acl FTP proto FTP
http_access deny FTP
Package: squid (Red Hat Enterprise Linux 5)
Debian
CVE-2019-12528: squid - An issue was discovered in Squid before 4.10. It allows a crafted FTP server to ...
vendor_debian·2019·CVSS 7.5
CVE-2019-12528 [HIGH] CVE-2019-12528: squid - An issue was discovered in Squid before 4.10. It allows a crafted FTP server to ...
An issue was discovered in Squid before 4.10. It allows a crafted FTP server to trigger disclosure of sensitive information from heap memory, such as information associated with other users' sessions or non-Squid processes.
Scope: local
bookworm: resolved (fixed in 4.10-1)
bullseye: resolved (fixed in 4.10-1)
forky: resolved (fixed in 4.10-1)
sid: resolved (fixed in 4.10-1)
trixie: resolved (fixed in 4.10-1)
GHSA
GHSA-pjg3-3q79-q39r: An issue was discovered in Squid before 4
ghsa_unreviewed·2022-05-24
CVE-2019-12528 [MEDIUM] CWE-200 GHSA-pjg3-3q79-q39r: An issue was discovered in Squid before 4
An issue was discovered in Squid before 4.10. It allows a crafted FTP server to trigger disclosure of sensitive information from heap memory, such as information associated with other users' sessions or non-Squid processes.
OSV
squid, squid3 vulnerabilities
osv·2020-02-20·CVSS 7.5
CVE-2019-12528 [HIGH] squid, squid3 vulnerabilities
squid, squid3 vulnerabilities
Jeriko One discovered that Squid incorrectly handled memory when connected
to an FTP server. A remote attacker could possibly use this issue to obtain
sensitive information from Squid memory. (CVE-2019-12528)
Regis Leroy discovered that Squid incorrectly handled certain HTTP
requests. A remote attacker could possibly use this issue to access server
resources prohibited by earlier security filters. (CVE-2020-8449)
Guido Vranken discovered that Squid incorrectly handled certain buffer
operations when acting as a reverse proxy. A remote attacker could use
this issue to cause Squid to crash, resulting in a denial of service, or
possibly execute arbitrary code. (CVE-2020-8450)
Aaron Costello discovered that Squid incorrectly handled certain NTLM
authentication
OSV
CVE-2019-12528: An issue was discovered in Squid before 4
osv·2020-02-04·CVSS 7.5
CVE-2019-12528 [HIGH] CVE-2019-12528: An issue was discovered in Squid before 4
An issue was discovered in Squid before 4.10. It allows a crafted FTP server to trigger disclosure of sensitive information from heap memory, such as information associated with other users' sessions or non-Squid processes.
No detection rules found.
No public exploits indexed.
HackerOne
Squid leaks previous content from reusable buffer
hackerone·2021-08-26·CVSS 7.5
CVE-2019-12528 [HIGH] Squid leaks previous content from reusable buffer
Squid leaks previous content from reusable buffer
## Summary:
A malicious response to a FTP request can cause Squid to miscalculate the length of a string copying data past the terminating NULL. Due to Squid's memory pool the contents that is exposed could range from internal data, to other user's private Request/Response to Squid.
This exist in Squid-4.9 and Below and was fixed in Squid-4.10
This vulnerability was assigned CVE-2019-12528.
## Steps To Reproduce:
A custom config is should not be needed.
I've attached a python script that returns the needed response to trigger this.
1) Start Squid
```
./sbin/squid
```
2) Start your malicious FTP Server
```
./squid_leak.py 8080
```
3) Make a request to the FTP server via Squid.
```
printf "GET ftp://:8080/ HTTP/1.1\r\n\r\n" | nc 3128
``
Bugzilla
CVE-2019-12528 squid: Information Disclosure issue in FTP Gateway
bugzilla·2020-02-05·CVSS 7.5
CVE-2019-12528 [HIGH] CVE-2019-12528 squid: Information Disclosure issue in FTP Gateway
CVE-2019-12528 squid: Information Disclosure issue in FTP Gateway
An issue was discovered in Squid before 4.10. It allows a crafted FTP server to trigger disclosure of sensitive information from heap memory, such as information associated with other users' sessions or non-Squid processes.
References:
http://www.squid-cache.org/Advisories/SQUID-2020_2.txt
Discussion:
Created squid tracking bugs for this issue:
Affects: fedora-all [bug 1798535]
---
Mitigation:
As a workaround, it is possible to disable support for FTP. In order to do so, remove the following line from your squid configuration file:
acl Safe_ports 21
Then add the following lines to your squid configuration file:
acl FTP proto FTP
http_access deny FTP
---
This issue has been addressed in the following products:
Re
Bugzilla
CVE-2019-12528 squid: Information Disclosure issue in FTP Gateway [fedora-all]
bugzilla·2020-02-05·CVSS 7.5
CVE-2019-12528 [HIGH] CVE-2019-12528 squid: Information Disclosure issue in FTP Gateway [fedora-all]
CVE-2019-12528 squid: Information Disclosure issue in FTP Gateway [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported version
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00012.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-05/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.htmlhttp://www.squid-cache.org/Advisories/SQUID-2020_2.txthttps://lists.debian.org/debian-lts-announce/2020/07/msg00009.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G6W2IQ7QV2OGREFFUBNVZIDD3RJBDE4R/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TSU6SPANL27AGK5PCGBJOKG4LUWA555J/https://security.gentoo.org/glsa/202003-34https://usn.ubuntu.com/4289-1/https://www.debian.org/security/2020/dsa-4682http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00012.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-05/msg00010.htmlhttp://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.htmlhttp://www.squid-cache.org/Advisories/SQUID-2020_2.txthttps://lists.debian.org/debian-lts-announce/2020/07/msg00009.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G6W2IQ7QV2OGREFFUBNVZIDD3RJBDE4R/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TSU6SPANL27AGK5PCGBJOKG4LUWA555J/https://security.gentoo.org/glsa/202003-34https://usn.ubuntu.com/4289-1/https://www.debian.org/security/2020/dsa-4682
2020-02-04
Published