Bug 1077003 - (CVE-2018-1000024) VUL-0: CVE-2018-1000024: squid,squid3: SQUID-2018_1 Denial of Service issue in ESI Response processing.
(CVE-2018-1000024)
VUL-0: CVE-2018-1000024: squid,squid3: SQUID-2018_1 Denial of Service issue i...
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/198737/
CVSSv3:RedHat:CVE-2018-1000024:7.4:(A...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-22 10:41 UTC by Marcus Meissner
Modified: 2022-10-13 13:48 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
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 Marcus Meissner 2018-01-22 10:41:48 UTC
SQUID-2018_1

http://www.squid-cache.org/Advisories/SQUID-2018_1.txt

__________________________________________________________________

    Squid Proxy Cache Security Update Advisory SQUID-2018:1
__________________________________________________________________

Advisory ID:        SQUID-2018:1
Date:               Jan 19, 2018
Summary:            Denial of Service issue
                    in ESI Response processing.
Affected versions:  Squid 3.x -> 3.5.27
                    Squid 4.x -> 4.0.22
Fixed in version:   Squid 4.0.23
__________________________________________________________________

    http://www.squid-cache.org/Advisories/SQUID-2018_1.txt
__________________________________________________________________

Problem Description:

 Due to incorrect pointer handling Squid is vulnerable to denial
 of service attack when processing ESI responses.

__________________________________________________________________

Severity:

 This problem allows a remote server delivering certain ESI
 response syntax to trigger a denial of service for all clients
 accessing the Squid service.

 Due to unrelated changes Squid-3.5 has become vulnerable to some
 regular ESI server responses also triggering this issue.

 This problem is limited to the Squid custom ESI parser.
 Squid built to use libxml2 or libexpat XML parsers do not have
 this problem.

__________________________________________________________________

Updated Packages:

 This bug is fixed by Squid version 4.0.23.

 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-2018_1.patch>

Squid 4:
 <http://www.squid-cache.org/Versions/v4/changesets/SQUID-2018_1.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 are not vulnerable.

 All Squid built with --disable-esi are not vulnerable.

 All Squid configured with "esi_parser expat" are not vulnerable.

 All Squid configured with "esi_parser libxml2" are not
 vulnerable.

 All Squid-3.0 versions built without --enable-esi are not
 vulnerable.

 All Squid-3.0 versions built with --enable-esi and using
 custom ESI parser for reverse-proxy are vulnerable.

 All Squid-3.1 and later versions up to and including
 Squid-3.5.27 being used for reverse-proxy are vulnerable.

 All Squid-3.1 and later versions up to and including
 Squid-3.5.27 being used for TLS / HTTPS interception are
 vulnerable.

 All unpatched Squid-4 up to and including Squid-4.0.22 being
 used as reverse-proxy are vulnerable.

 All unpatched Squid-4 up to and including Squid-4.0.22 being
 used as TLS/HTTPS intercept proxy are vulnerable.

__________________________________________________________________

Workarounds:

Either;

 Build Squid with --disable-esi

Or,

 Build Squid with "--enable-esi --with-libxml2" and in squid.conf
 configure "esi_parser libxml2"

Or,

 Build Squid with "--enable-esi --with-expat" and in squid.conf
 configure "esi_parser expat"

__________________________________________________________________

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:

 The initial issue was reported by Louis Dion-Marcil on behalf of
 GoSecure.

 Fixed by Amos Jeffries from Treehouse Networks Ltd.

__________________________________________________________________

Revision history:

 2017-12-13 20:09:30 UTC Initial Report
 2018-01-18 23:10:00 UTC Patches Released
 2018-01-21 07:45:00 UTC Advisory and fixed packages released
__________________________________________________________________
END
Comment 1 Marcus Meissner 2018-01-29 06:23:35 UTC
CVE-2018-1000024
Comment 2 Swamp Workflow Management 2018-02-05 09:50:05 UTC
This is an autogenerated message for OBS integration:
This bug (1077003) was mentioned in
https://build.opensuse.org/request/show/572519 Factory / squid
Comment 5 Swamp Workflow Management 2018-03-08 20:08:57 UTC
SUSE-SU-2018:0636-1: An update that fixes two vulnerabilities is now available.

Category: security (moderate)
Bug References: 1077003,1077006
CVE References: CVE-2018-1000024,CVE-2018-1000027
Sources used:
SUSE Linux Enterprise Server for Raspberry Pi 12-SP2 (src):    squid-3.5.21-26.6.1
SUSE Linux Enterprise Server 12-SP3 (src):    squid-3.5.21-26.6.1
SUSE Linux Enterprise Server 12-SP2 (src):    squid-3.5.21-26.6.1
Comment 6 Swamp Workflow Management 2018-03-09 11:12:13 UTC
openSUSE-SU-2018:0647-1: An update that fixes two vulnerabilities is now available.

Category: security (moderate)
Bug References: 1077003,1077006
CVE References: CVE-2018-1000024,CVE-2018-1000027
Sources used:
openSUSE Leap 42.3 (src):    squid-3.5.21-12.1
Comment 7 Swamp Workflow Management 2018-03-21 14:07:59 UTC
SUSE-SU-2018:0752-1: An update that fixes two vulnerabilities is now available.

Category: security (moderate)
Bug References: 1077003,1077006
CVE References: CVE-2018-1000024,CVE-2018-1000027
Sources used:
SUSE Linux Enterprise Server 11-SP4 (src):    squid3-3.1.23-8.16.37.3.1
SUSE Linux Enterprise Debuginfo 11-SP4 (src):    squid3-3.1.23-8.16.37.3.1
Comment 8 Adam Majer 2018-08-29 11:31:32 UTC
All codestream released. Reassigning to security team.
Comment 9 Marcus Meissner 2018-08-29 11:54:06 UTC
done