Upstream information

CVE-2019-12520 at MITRE

Description

An issue was discovered in Squid through 4.7 and 5. When receiving a request, Squid checks its cache to see if it can serve up a response. It does this by making a MD5 hash of the absolute URL of the request. If found, it servers the request. The absolute URL can include the decoded UserInfo (username and password) for certain protocols. This decoded info is prepended to the domain. This allows an attacker to provide a username that has special characters to delimit the domain, and treat the rest of the URL as a path or query string. An attacker could first make a request to their domain using an encoded username, then when a request for the target domain comes in that decodes to the exact URL, it will serve the attacker's HTML instead of the real HTML. On Squid servers that also act as reverse proxies, this allows an attacker to gain access to features that only reverse proxies can use, such as ESI.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5
Vector AV:N/AC:L/Au:N/C:P/I:N/A:N
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact None
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 5.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
Access Vector Network Network
Access Complexity Low High
Privileges Required None Low
User Interaction None Required
Scope Unchanged Changed
Confidentiality Impact High High
Integrity Impact None None
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entries: 1169666 [RESOLVED / DUPLICATE], 1170423 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
HPE Helion Openstack 8
  • squid >= 3.5.21-26.23.1
Patchnames:
HPE-Helion-OpenStack-8-2020-1227
SUSE Enterprise Storage 5
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-Storage-5-2020-1227
SUSE Linux Enterprise Point of Sale 11 SP3
  • squid3 >= 3.1.23-8.16.37.12.1
Patchnames:
sleposp3-squid3-14460
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-SLE-POS-12-SP2-CLIENT-2020-1227
SUSE Linux Enterprise Server 11 SP4-LTSS
  • squid3 >= 3.1.23-8.16.37.12.1
Patchnames:
slessp4-squid3-14460
SUSE Linux Enterprise Server 12 SP2-BCL
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-BCL-2020-1227
SUSE Linux Enterprise Server 12 SP2-ESPOS
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-ESPOS-2020-1227
SUSE Linux Enterprise Server 12 SP2-LTSS
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2020-1227
SUSE Linux Enterprise Server 12 SP3-BCL
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-BCL-2020-1227
SUSE Linux Enterprise Server 12 SP3-ESPOS
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-ESPOS-2020-1227
SUSE Linux Enterprise Server 12 SP3-LTSS
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2020-1227
SUSE Linux Enterprise Server 12 SP4
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-2020-1227
SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-SLE-SAP-12-SP2-2020-1227
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-SLE-SAP-12-SP3-2020-1227
SUSE OpenStack Cloud 7
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-OpenStack-Cloud-7-2020-1227
SUSE OpenStack Cloud 8
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-OpenStack-Cloud-8-2020-1227
SUSE OpenStack Cloud Crowbar 8
  • squid >= 3.5.21-26.23.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-8-2020-1227


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
HPE Helion OpenStack 8 squid Released
SUSE Enterprise Storage 5 squid Released
SUSE Linux Enterprise High Performance Computing 12 SP4 squid Released
SUSE Linux Enterprise High Performance Computing 12 SP5 squid Not affected
SUSE Linux Enterprise High Performance Computing 15 LTSS squid Not affected
SUSE Linux Enterprise Module for Server Applications 15 SP1 squid Not affected
SUSE Linux Enterprise Point of Service 11 SP3 squid3 Released
SUSE Linux Enterprise Point of Service Image Server 12 SP2 squid Released
SUSE Linux Enterprise Server 11 SP4 LTSS squid Not affected
SUSE Linux Enterprise Server 11 SP4 LTSS squid3 Released
SUSE Linux Enterprise Server 12 SP1 LTSS squid Not affected
SUSE Linux Enterprise Server 12 SP2 ESPOS squid Released
SUSE Linux Enterprise Server 12 SP2 LTSS squid Released
SUSE Linux Enterprise Server 12 SP3 ESPOS squid Released
SUSE Linux Enterprise Server 12 SP3 LTSS squid Released
SUSE Linux Enterprise Server 12 SP4 squid Released
SUSE Linux Enterprise Server 12 SP4 ESPOS squid Released
SUSE Linux Enterprise Server 12 SP4 LTSS squid Released
SUSE Linux Enterprise Server 12 SP5 squid Not affected
SUSE Linux Enterprise Server 15 ESPOS squid Not affected
SUSE Linux Enterprise Server 15 LTSS squid Not affected
SUSE Linux Enterprise Server BCL 12 SP2 squid Released
SUSE Linux Enterprise Server BCL 12 SP3 squid Released
SUSE Linux Enterprise Server for SAP Applications 12 SP2 squid Released
SUSE Linux Enterprise Server for SAP Applications 12 SP3 squid Released
SUSE Linux Enterprise Server for SAP Applications 12 SP4 squid Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 squid Not affected
SUSE OpenStack Cloud 7 squid Released
SUSE OpenStack Cloud 8 squid Released
SUSE OpenStack Cloud 9 squid Released
SUSE OpenStack Cloud Crowbar 8 squid Released
SUSE OpenStack Cloud Crowbar 9 squid Released