Bug 1162691 - (CVE-2020-8517) VUL-0: CVE-2020-8517: squid: Buffer Overflow issue in ext_lm_group_acl helper (SQUID-2020:3)
(CVE-2020-8517)
VUL-0: CVE-2020-8517: squid: Buffer Overflow issue in ext_lm_group_acl helper...
Status: RESOLVED FIXED
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
https://smash.suse.de/issue/252376/
CVSSv3.1:SUSE:CVE-2020-8517:8.1:(AV:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-02-04 16:02 UTC by Alexandros Toptsoglou
Modified: 2023-03-27 08:20 UTC (History)
3 users (show)

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


Attachments

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

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

Advisory ID:        SQUID-2020:3
Date:               February 02, 2020
Summary:            Buffer Overflow issue
                    in ext_lm_group_acl helper.
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-2019_3.txt
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-8517
__________________________________________________________________

Problem Description:

 Due to incorrect buffer management ext_lm_group_acl is vulnerable
 to a denial of service attack when processing NTLM Authentication
 credentials.

__________________________________________________________________

Severity:

 This problem is limited to installations using the
 ext_lm_group_acl binary.

 Due to incorrect input validation the NTLM authentication
 credentials parser in ext_lm_group_acl may write to memory
 outside the credentials buffer.

 On systems with memory access protections this can result in
 the the helper process being terminated unexpectedly. Resulting
 in Squid process also terminating and a denial of service for
 all clients using the proxy.

__________________________________________________________________

Updated Packages:

 This bug is fixed by ext_lm_group_acl from Squid version 4.10.

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

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

Squid 4:
 <http://www.squid-cache.org/Versions/v4/changesets/squid-4-6982f1187a26557e582172965e266f544ea562a5.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:

The helper was shipped as mswin_check_lm_group with Squid-3.1 and
older. Also as a third-party helper prior to Squid-2.6.

 All Squid using the mswin_check_lm_group helper for group
 based authorization are vulnerable.


 All Squid not using the ext_lm_group_acl helper for group
 based authorization are not vulnerable.

 All Squid-3.x up to and including 3.5.28 being used for NTLM
 Authentication with ext_lm_group_acl helper are vulnerable.

 All Squid-4.x up to and including 4.9 being used for NTLM
 Authentication with ext_lm_group_acl helper are vulnerable.


To determine whether Squid-3.2 and later are configured to use
the affected helper use the commands:

 squid -k parse | grep ext_lm_group_acl

 squid -k parse | grep mswin_check_lm_group


To determine whether Squid-3.1 and older are configured to use
the affected helper use the commands:

 grep ext_lm_group_acl /etc/squid/squid.conf

 grep mswin_check_lm_group /etc/squid/squid.conf

__________________________________________________________________

Workarounds:

Either;

 Remove 'auth_param NTLM ...' configuration settings from
 squid.conf.

Or,

 Use ext_lm_group_acl binary built from Squid-4.10 or later
 versions.


__________________________________________________________________

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 and fixed by Aaron Costello
 <aaron.costello@ymail.com>.

__________________________________________________________________

Revision history:

 2019-11-11 10:25:02 UTC Initial Report
 2019-11-22 02:44:29 UTC Patches Released
__________________________________________________________________
END
Comment 1 Swamp Workflow Management 2020-02-05 11:30:13 UTC
This is an autogenerated message for OBS integration:
This bug (1162691) was mentioned in
https://build.opensuse.org/request/show/770216 Factory / squid
Comment 3 Swamp Workflow Management 2020-02-26 14:14:53 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:12 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:15 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:32 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:10 UTC
This is an autogenerated message for OBS integration:
This bug (1162691) was mentioned in
https://build.opensuse.org/request/show/796564 Factory / squid
Comment 11 Swamp Workflow Management 2020-04-29 10:14:08 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 12 Swamp Workflow Management 2020-04-30 13:17:27 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 13 Swamp Workflow Management 2020-05-03 16:14:13 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 14 Swamp Workflow Management 2020-05-11 09:11:10 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 16 Swamp Workflow Management 2020-08-24 16:14:33 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.