CVE-2018-4058 Server-side request forgery in coTURN
An attacker can exploit the default TURN server configuration to relay traffic to the loopback interface, accessing private services on the host.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-4058?
CVE-2018-4058 is a high-severity server-side request forgery vulnerability in Talos coTURN, published on 21 Mar 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An exploitable unsafe default configuration vulnerability exists in the TURN server functionality of coTURN prior to 4.5.0.9. By default, the TURN server allows relaying external traffic to the loopback interface of its own host. This can provide access to other private services running on that host, which can lead to further attacks. An attacker can set up a relay with a loopback address as the peer on an affected TURN server to trigger this vulnerability.
Which versions are affected by CVE-2018-4058?
It affects 1 product.
Products include Coturn Project Coturn.
How do I fix CVE-2018-4058?
Upgrade to a fixed version.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2018-4058 being exploited?
There is no known exploitation of CVE-2018-4058 in the wild and no public exploit code.
Other vulnerabilities in Talos coTURN
- CVE-2018-4056 SQL injection in coTURN
- CVE-2026-43994 Coturn: Stack buffer overflow in decode_oauth_token_gcm()
- CVE-2026-40613 Coturn: Misaligned Memory Access in coturn STUN Attribute Parser (Remote DoS on ARM64)
- CVE-2026-53450 Coturn: IPv4-mapped 127.0.0.1 bypasses default loopback peer protection
- CVE-2026-53448 Coturn: SQL Injection in HTTPS Admin Panel Delete Operations
Sources
Also known as DEBIAN-CVE-2018-4058, GHSA-j75v-963h-65p5, UBUNTU-CVE-2018-4058.