Lucene search

K
githubGitHub Advisory DatabaseGHSA-5WRH-4JWV-5W78
HistoryApr 13, 2021 - 3:13 p.m.

Open redirect via transitional IPv6 addresses on dual-stack networks

2021-04-1315:13:08
CWE-601
GitHub Advisory Database
github.com
13
open redirect
transitional ipv6
dual-stack networks
impact
user domains
external ips
federation
identity servers
key validity
push notifications
url previews
synapse
internal infrastructure
patches
workarounds
rfc3056
rfc4291
software

CVSS2

4.9

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:S/C:P/I:P/A:N

CVSS3

6.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N

EPSS

0.001

Percentile

36.7%

Impact

Requests to user provided domains were not restricted to external IP addresses when transitional IPv6 addresses were used. Outbound requests to federation, identity servers, when calculating the key validity for third-party invite events, sending push notifications, and generating URL previews are affected. This could cause Synapse to make requests to internal infrastructure on dual-stack networks.

Patches

This issue is fixed by #9240.

Workarounds

Outbound requests to the following address ranges can be blocked by a firewall, if unused for internal communication between systems:

  • ::ffff/80
  • ::0000/80 (note that this IP range is considered deprecated by the IETF)
  • 2002::/16 (note that this IP range is considered deprecated by the IETF)

References

Affected configurations

Vulners
Node
matrixsynapseRange<1.28.0rc1
VendorProductVersionCPE
matrixsynapse*cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*

CVSS2

4.9

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:S/C:P/I:P/A:N

CVSS3

6.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N

EPSS

0.001

Percentile

36.7%