Bug 1162689 - (CVE-2019-12528) VUL-0: CVE-2019-12528: squid: information Disclosure issue in FTP Gateway (SQUID-2020:2)
(CVE-2019-12528)
VUL-0: CVE-2019-12528: squid: information Disclosure issue in FTP Gateway (SQ...
Status: NEW
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Security Team bot
Security Team bot
CVSSv3.1:SUSE:CVE-2019-12528:5.9:(AV...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-02-04 16:00 UTC by Alexandros Toptsoglou
Modified: 2022-10-18 09:35 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
squid_leak.py (4.33 KB, text/plain)
2020-04-24 16:01 UTC, Marcus Meissner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandros Toptsoglou 2020-02-04 16:00:46 UTC
__________________________________________________________________

    Squid Proxy Cache Security Update Advisory SQUID-2020:2
__________________________________________________________________

Advisory ID:        SQUID-2020:2
Date:               February 02, 2020
Summary:            Information Disclosure issue
                    in FTP Gateway.
Affected versions:  Squid 2.x -> 2.7.STABLE9
                    Squid 3.x -> 3.5.28
                    Squid 4.x -> 4.9
Fixed in version:   Squid 4.10
__________________________________________________________________

    http://www.squid-cache.org/Advisories/SQUID-2020_2.txt
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12528
__________________________________________________________________

Problem Description:

 Due to incorrect data management Squid is vulnerable to a
 information disclosure when translating FTP server listings
 into HTTP responses.

__________________________________________________________________

Severity:

 Certain FTP server responses can result in Squid revealing
 random amounts of memory content from heap.

 When Squid mempools feature is enabled the leak is limited to
 lines in FTP directory listings, possibly from other clients.

 When mempools is disabled the information may be anything from
 the heap area including information from other processes on the
 machine.

__________________________________________________________________

Updated Packages:

 This bug is fixed by Squid version 4.10.

 In addition, a patch addressing this problem for the stable
 releases can be found in our patch archives:

Squid 3:
 <http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-8cdb18ca1829a0b7faa1c9e472604ed0e7e105ac.patch>

Squid 4:
 <http://www.squid-cache.org/Versions/v4/changesets/squid-4-c1bebac9c1135b7add6589db35c62f16db195b8f.patch>

 If you are using a prepackaged version of Squid then please refer
 to the package vendor for availability information on updated
 packages.

__________________________________________________________________

Determining if your version is vulnerable:

 All Squid-2.x up to and including 2.7.STABLE9 are vulnerable.

 All Squid-3.x up to and including 3.5.28 are vulnerable.

 All Squid-4.x up to and including 4.9 are vulnerable.

__________________________________________________________________

Workarounds:

 * To disable FTP features

  Remove from squid.conf:

    acl Safe_ports 21

  Add to squid.conf:

    acl FTP proto FTP
    http_access deny FTP


 * To reduce leakage while retaining FTP features:

  Remove from squid.conf:

   memory_pools off


__________________________________________________________________

Contact details for the Squid project:

 For installation / upgrade support on binary packaged versions
 of Squid: Your first point of contact should be your binary
 package vendor.

 If your install and build Squid from the original Squid sources
 then the squid-users@lists.squid-cache.org mailing list is your
 primary support point. For subscription details see
 <http://www.squid-cache.org/Support/mailing-lists.html>.

 For reporting of non-security bugs in the latest STABLE release
 the squid bugzilla database should be used
 <http://bugs.squid-cache.org/>.

 For reporting of security sensitive bugs send an email to the
 squid-bugs@lists.squid-cache.org mailing list. It's a closed
 list (though anyone can post) and security related bug reports
 are treated in confidence until the impact has been established.

__________________________________________________________________

Credits:

 This vulnerability was discovered by Jeriko One
 <jeriko.one@gmx.us>.

 Fixed by Christos Tsantilas of The Measurement Factory.

__________________________________________________________________

Revision history:

 2019-05-14 14:56:49 UTC Initial Report
 2019-06-05 15:52:17 UTC CVE Assignment
 2019-12-20 07:29:58 UTC Patches Released
__________________________________________________________________
END
Comment 1 Swamp Workflow Management 2020-02-05 11:30:10 UTC
This is an autogenerated message for OBS integration:
This bug (1162689) was mentioned in
https://build.opensuse.org/request/show/770216 Factory / squid
Comment 3 Swamp Workflow Management 2020-02-26 14:14:47 UTC
SUSE-SU-2020:0487-1: An update that fixes four vulnerabilities is now available.

Category: security (moderate)
Bug References: 1162687,1162689,1162691
CVE References: CVE-2019-12528,CVE-2020-8449,CVE-2020-8450,CVE-2020-8517
Sources used:
SUSE Linux Enterprise Server 12-SP5 (src):    squid-4.10-4.6.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 4 Swamp Workflow Management 2020-02-26 17:13:06 UTC
SUSE-SU-2020:0493-1: An update that fixes four vulnerabilities is now available.

Category: security (moderate)
Bug References: 1162687,1162689,1162691
CVE References: CVE-2019-12528,CVE-2020-8449,CVE-2020-8450,CVE-2020-8517
Sources used:
SUSE Linux Enterprise Module for Server Applications 15-SP1 (src):    squid-4.10-5.14.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 5 Swamp Workflow Management 2020-03-06 05:11:09 UTC
openSUSE-SU-2020:0307-1: An update that fixes four vulnerabilities is now available.

Category: security (moderate)
Bug References: 1162687,1162689,1162691
CVE References: CVE-2019-12528,CVE-2020-8449,CVE-2020-8450,CVE-2020-8517
Sources used:
openSUSE Leap 15.1 (src):    squid-4.10-lp151.2.11.1
Comment 7 Swamp Workflow Management 2020-03-12 20:20:24 UTC
SUSE-SU-2020:0661-1: An update that fixes 10 vulnerabilities is now available.

Category: security (important)
Bug References: 1156323,1156324,1156326,1156328,1156329,1162687,1162689,1162691
CVE References: CVE-2019-12523,CVE-2019-12526,CVE-2019-12528,CVE-2019-18676,CVE-2019-18677,CVE-2019-18678,CVE-2019-18679,CVE-2020-8449,CVE-2020-8450,CVE-2020-8517
Sources used:
SUSE OpenStack Cloud Crowbar 8 (src):    squid-3.5.21-26.20.1
SUSE OpenStack Cloud 8 (src):    squid-3.5.21-26.20.1
SUSE OpenStack Cloud 7 (src):    squid-3.5.21-26.20.1
SUSE Linux Enterprise Server for SAP 12-SP3 (src):    squid-3.5.21-26.20.1
SUSE Linux Enterprise Server for SAP 12-SP2 (src):    squid-3.5.21-26.20.1
SUSE Linux Enterprise Server 12-SP4 (src):    squid-3.5.21-26.20.1
SUSE Linux Enterprise Server 12-SP3-LTSS (src):    squid-3.5.21-26.20.1
SUSE Linux Enterprise Server 12-SP3-BCL (src):    squid-3.5.21-26.20.1
SUSE Linux Enterprise Server 12-SP2-LTSS (src):    squid-3.5.21-26.20.1
SUSE Linux Enterprise Server 12-SP2-BCL (src):    squid-3.5.21-26.20.1
SUSE Enterprise Storage 5 (src):    squid-3.5.21-26.20.1
HPE Helion Openstack 8 (src):    squid-3.5.21-26.20.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 8 Swamp Workflow Management 2020-04-23 14:30:06 UTC
This is an autogenerated message for OBS integration:
This bug (1162689) was mentioned in
https://build.opensuse.org/request/show/796564 Factory / squid
Comment 11 Marcus Meissner 2020-04-24 16:01:52 UTC
Created attachment 836731 [details]
squid_leak.py

QA REPRODUCER:

reproducer script
Comment 12 Swamp Workflow Management 2020-04-29 10:14:01 UTC
SUSE-SU-2020:1134-1: An update that fixes 6 vulnerabilities is now available.

Category: security (important)
Bug References: 1162689,1162691,1167373,1169659,1170313
CVE References: CVE-2019-12519,CVE-2019-12521,CVE-2019-12528,CVE-2019-18860,CVE-2020-11945,CVE-2020-8517
Sources used:
SUSE Linux Enterprise Server 12-SP5 (src):    squid-4.11-4.9.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 13 Swamp Workflow Management 2020-04-30 13:17:20 UTC
SUSE-SU-2020:1156-1: An update that fixes 6 vulnerabilities is now available.

Category: security (important)
Bug References: 1162689,1162691,1167373,1169659,1170313
CVE References: CVE-2019-12519,CVE-2019-12521,CVE-2019-12528,CVE-2019-18860,CVE-2020-11945,CVE-2020-8517
Sources used:
SUSE Linux Enterprise Server for SAP 15 (src):    squid-4.11-5.17.2
SUSE Linux Enterprise Server 15-LTSS (src):    squid-4.11-5.17.2
SUSE Linux Enterprise Module for Server Applications 15-SP2 (src):    squid-4.11-5.17.2
SUSE Linux Enterprise Module for Server Applications 15-SP1 (src):    squid-4.11-5.17.2
SUSE Linux Enterprise High Performance Computing 15-LTSS (src):    squid-4.11-5.17.2
SUSE Linux Enterprise High Performance Computing 15-ESPOS (src):    squid-4.11-5.17.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 14 Swamp Workflow Management 2020-05-03 16:14:06 UTC
openSUSE-SU-2020:0606-1: An update that fixes four vulnerabilities is now available.

Category: security (moderate)
Bug References: 1162687,1162689,1162691
CVE References: CVE-2019-12528,CVE-2020-8449,CVE-2020-8450,CVE-2020-8517
Sources used:
openSUSE Leap 15.1 (src):    squid-4.10-lp151.2.14.1
Comment 15 Swamp Workflow Management 2020-05-11 09:11:03 UTC
openSUSE-SU-2020:0623-1: An update that fixes 6 vulnerabilities is now available.

Category: security (important)
Bug References: 1162689,1162691,1167373,1169659,1170313
CVE References: CVE-2019-12519,CVE-2019-12521,CVE-2019-12528,CVE-2019-18860,CVE-2020-11945,CVE-2020-8517
Sources used:
openSUSE Leap 15.1 (src):    squid-4.11-lp151.2.15.2
Comment 17 Swamp Workflow Management 2020-08-24 16:14:28 UTC
SUSE-SU-2020:14460-1: An update that fixes 21 vulnerabilities is now available.

Category: security (important)
Bug References: 1140738,1141329,1141332,1156323,1156324,1156326,1156328,1156329,1162687,1162689,1162691,1167373,1169659,1170313,1170423,1173304,1173455
CVE References: CVE-2019-12519,CVE-2019-12520,CVE-2019-12521,CVE-2019-12523,CVE-2019-12524,CVE-2019-12525,CVE-2019-12526,CVE-2019-12528,CVE-2019-12529,CVE-2019-13345,CVE-2019-18676,CVE-2019-18677,CVE-2019-18678,CVE-2019-18679,CVE-2019-18860,CVE-2020-11945,CVE-2020-14059,CVE-2020-15049,CVE-2020-8449,CVE-2020-8450,CVE-2020-8517
JIRA References: 
Sources used:
SUSE Linux Enterprise Server 11-SP4-LTSS (src):    squid3-3.1.23-8.16.37.12.1
SUSE Linux Enterprise Point of Sale 11-SP3 (src):    squid3-3.1.23-8.16.37.12.1
SUSE Linux Enterprise Debuginfo 11-SP4 (src):    squid3-3.1.23-8.16.37.12.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.