CVE Catalog
EnglishPolski(English translation not available - showing Polish)

CVE-2025-69217

High
Published: Translated: NVD NIST

Summary

Coturn to darmowa, otwartoźródłowa implementacja serwera TURN i STUN. Wersje od 4.6.2r5 do 4.7.0-r4 mają wadliwy generator liczb losowych dla nonce oraz losowania portów, co umożliwia przewidywanie następnych nonce i portów przez atakującego.

Risk Assessment

Atakujący może wysyłać uwierzytelnione wiadomości, podszywając się pod inne adresy IP, co stwarza poważne zagrożenie dla bezpieczeństwa komunikacji w organizacji, zwłaszcza w kontekście urządzeń IoT.

Recommendation

Zaleca się aktualizację coturn do najnowszej wersji, aby usunąć wady związane z generowaniem liczb losowych oraz wprowadzenie dodatkowych mechanizmów zabezpieczających przed atakami typu spoofing.

Related vulnerabilities

Original NVD description (English source)

coturn is a free open source implementation of TURN and STUN Server. Versions 4.6.2r5 through 4.7.0-r4 have a bad random number generator for nonces and port randomization after refactoring. Additionally, random numbers aren't generated with openssl's RAND_bytes but libc's random() (if it's not running on Windows). When fetching about 50 sequential nonces (i.e., through sending 50 unauthenticated allocations requests) it is possible to completely reconstruct the current state of the random number generator, thereby predicting the next nonce. This allows authentication while spoofing IPs. An attacker can send authenticated messages without ever receiving the responses, including the nonce (requires knowledge of the credentials, which is e.g., often the case in IoT settings). Since the port randomization is deterministic given the pseudorandom seed, an attacker can exactly reconstruct the ports and, hence predict the randomization of the ports. If an attacker allocates a relay port, they

Vulnerability data from NVD (NIST) · CISA KEV · EPSS