CVE-2018-4058 Server-side request forgery in coTURN

High 7.7 Published Updated

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.

Sources

Also known as DEBIAN-CVE-2018-4058, GHSA-j75v-963h-65p5, UBUNTU-CVE-2018-4058.

Is CVE-2018-4058 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free