CVE-2020-26262: coturn_project coturn Confused Deputy
Vulnerability summary
CVE-2020-26262 is a high (CVSS 7.2) Confused Deputy vulnerability in coturn_project coturn. EPSS estimates a 1.55% chance of exploitation in the next 30 days, higher than 74.6% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 13-01-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- OSV · DebianEcosystem advisory · calculated7.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- NVDNIST7.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS trend
Probability
1.55%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
+0.23 pp
From 1.32% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundCoturn
Maturity: poc
Weaknesses
CWE · root cause- CWE-441Unintended Proxy or Intermediary ('Confused Deputy')The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. This causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor.
- CWE-682Incorrect CalculationThe product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.
Affected systems
Coturn1 product
- coturn< 4.5.2
Coturn_project1 product
- coturn< 4.5.2
Debian1 product
- coturn< 4.5.2-1 | < 4.5.1.1-1.1+deb10u2 | < 4.5.0.5-1+deb9u3
Fedoraproject1 product
- fedoraEOL32 | 33
Mageia1 product
- coturn< 4.5.2-1.4.mga7
Ubuntu1 product
- coturn< 4.5.0.3-1ubuntu0.4 | < 4.5.0.7-1ubuntu2.18.04.3 | < 4.5.1.1-1.1ubuntu0.20.04.2
6 vendors · 6 products
References
11 links- github.com/coturn/coturn/security/advisories/GHSA-6g6j-r9rf-cm7pX Refsource CONFIRMAdvisoryREPORTExploitThird Party Advisory
- github.com/coturn/coturn/commit/abfe1fd08d78baa0947d17dac0f7411c3d948e4dX Refsource MISCPatchThird Party Advisory
- github.com/coturn/coturn/blob/57180ab60afcaeb13537e69ae8cb8aefd8f3f546/ChangeLogX Refsource MISCRelease NotesThird Party Advisory