Skip to content

CVE-2020-26262 Loopback bypass in Coturn

HighCVSS 7.2 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known

Description

Coturn is free open source implementation of TURN and STUN Server. Coturn before version 4.5.2 by default does not allow peers to connect and relay packets to loopback addresses in the range of 127.x.x.x. However, it was observed that when sending a CONNECT request with the XOR-PEER-ADDRESS value of 0.0.0.0, a successful response was received and subsequently, CONNECTIONBIND also received a successful response. Coturn then is able to relay packets to the loopback interface. Additionally, when coturn is listening on IPv6, which is default, the loopback interface can also be reached by making use of either [::1] or [::] as the peer address. By using the address 0.0.0.0 as the peer address, a malicious user will be able to relay packets to the loopback interface, unless --denied-peer-ip=0.0.0.0 (or similar) has been specified. Since the default configuration implies that loopback peers are not allowed, coturn administrators may choose to not set the denied-peer-ip setting. The issue patched in version 4.5.2. As a workaround the addresses in the address block 0.0.0.0/8, [::1] and [::] should be denied by default unless --allow-loopback-peers has been specified.

Affected products

ProductAffected versionsFixed in
debian/coturn(Debian:12) < 4.5.2-1 4.5.2-1
debian/coturn(Debian:13) < 4.5.2-1 4.5.2-1
debian/coturn(Debian:14) < 4.5.2-1 4.5.2-1
coturn project coturn < 4.5.2 4.5.2
fedoraproject fedora = 32 No fix listed
fedoraproject fedora = 33 No fix listed
alpine/coturn(Alpine:v3.13) < 4.5.2-r0 4.5.2-r0
alpine/coturn(Alpine:v3.14) < 4.5.2-r0 4.5.2-r0
alpine/coturn(Alpine:v3.15) < 4.5.2-r0 4.5.2-r0
alpine/coturn(Alpine:v3.16) < 4.5.2-r0 4.5.2-r0
alpine/coturn(Alpine:v3.17) < 4.5.2-r0 4.5.2-r0
alpine/coturn(Alpine:v3.18) < 4.5.2-r0 4.5.2-r0
alpine/coturn(Alpine:v3.19) < 4.5.2-r0 4.5.2-r0
alpine/coturn(Alpine:v3.20) < 4.5.2-r0 4.5.2-r0
alpine/coturn(Alpine:v3.21) < 4.5.2-r0 4.5.2-r0
alpine/coturn(Alpine:v3.22) < 4.5.2-r0 4.5.2-r0
alpine/coturn(Alpine:v3.23) < 4.5.2-r0 4.5.2-r0
alpine/coturn(Alpine:v3.24) < 4.5.2-r0 4.5.2-r0
coturn/coturn = < 4.5.2 No fix listed
ubuntu/coturn(Ubuntu:16.04) < 4.5.0.3-1ubuntu0.4 4.5.0.3-1ubuntu0.4
ubuntu/coturn(Ubuntu:16.04) = 4.4.5.4-2 No fix listed
ubuntu/coturn(Ubuntu:16.04) = 4.5.0.2-3 No fix listed
ubuntu/coturn(Ubuntu:16.04) = 4.5.0.3-1 No fix listed
ubuntu/coturn(Ubuntu:16.04) = 4.5.0.3-1build1 No fix listed
ubuntu/coturn(Ubuntu:16.04) = 4.5.0.3-1ubuntu0.2 No fix listed
Show 11 more
ProductAffected versionsFixed in
ubuntu/coturn(Ubuntu:16.04) = 4.5.0.3-1ubuntu0.3 No fix listed
ubuntu/coturn(Ubuntu:18.04) < 4.5.0.7-1ubuntu2.18.04.3 4.5.0.7-1ubuntu2.18.04.3
ubuntu/coturn(Ubuntu:18.04) = 4.5.0.6-1ubuntu2 No fix listed
ubuntu/coturn(Ubuntu:18.04) = 4.5.0.7-1ubuntu1 No fix listed
ubuntu/coturn(Ubuntu:18.04) = 4.5.0.7-1ubuntu2 No fix listed
ubuntu/coturn(Ubuntu:18.04) = 4.5.0.7-1ubuntu2.18.04.1 No fix listed
ubuntu/coturn(Ubuntu:18.04) = 4.5.0.7-1ubuntu2.18.04.2 No fix listed
ubuntu/coturn(Ubuntu:20.04) < 4.5.1.1-1.1ubuntu0.20.04.2 4.5.1.1-1.1ubuntu0.20.04.2
ubuntu/coturn(Ubuntu:20.04) = 4.5.1.1-1.1build1 No fix listed
ubuntu/coturn(Ubuntu:20.04) = 4.5.1.1-1.1build2 No fix listed
ubuntu/coturn(Ubuntu:20.04) = 4.5.1.1-1.1ubuntu0.20.04.1 No fix listed

References