CVE-2018-25022

LOW

toxcore < 0.2.2 - Unauthenticated IP Address Exposure via Onion Routing

Title source: llm
STIX 2.1

Description

The Onion module in toxcore before 0.2.2 doesn't restrict which packets can be onion-routed, which allows a remote attacker to discover a target user's IP address (when knowing only their Tox Id) by positioning themselves close to target's Tox Id in the DHT for the target to establish an onion connection with the attacker, guessing the target's DHT public key and creating a DHT node with public key close to it, and finally onion-routing a NAT Ping Request to the target, requesting it to ping the just created DHT node.

References (3)

Core 3
Core References
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/TokTok/c-toxcore/issues/873
Patch, Third Party Advisory x_refsource_misc
https://github.com/TokTok/c-toxcore/pull/872

Scores

CVSS v3 3.1
EPSS 0.0150
EPSS Percentile 71.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Details

CWE
CWE-200
Status published
Products (1)
toktok/toxcore < 0.2.2
Published Dec 13, 2021
Tracked Since Feb 18, 2026