coturn peer-IP ACL canonicalization & scope bypass on the RFC 6062 TCP CONNECT relay path → internal-network SSRF and proven internal root RCE
10Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 5.8
exploitation probability
—
observed exploitation
nono source reports it
Coturn is a free open source implementation of TURN and STUN Server. Prior to 4.13.1, good_peer_addr() in src/server/ns_turn_server.c uses ioa_addr_in_range() in src/client/ns_turn_ioaddr.c without canonicalizing IPv4-compatible, 6to4, and 64:ff9b::/96 NAT64 address forms, allowing an authenticated RFC 6062 TCP CONNECT relay client to bypass an IPv4 denied-peer-ip range when the Coturn host has a useful translation route. This issue is fixed in version 4.13.1.
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
Affected products
coturn · coturnReferences
https://github.com/coturn/coturn/commit/cf4b4952de48510d38415b96300da5fc674bfddahttps://github.com/coturn/coturn/commit/d49ee56aa9fe748af064853d5e430eec1ccc3cbchttps://github.com/coturn/coturn/pull/1945https://github.com/coturn/coturn/pull/1947https://github.com/coturn/coturn/releases/tag/4.13.1https://github.com/coturn/coturn/security/advisories/GHSA-2x4g-wx24-48m4