Information disclosure in Toktok Toxcore
CVE-2018-25022
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.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.1 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.016, 75.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/TokTok/c-toxcore/issues/873 (Exploit, Third Party Advisory, Issue Tracking)
- github.com/TokTok/c-toxcore/pull/872 (Patch, Third Party Advisory)
- blog.tox.chat/2018/04/security-vulnerability-and-new-toxcore-release (Exploit, Vendor Advisory)