CVE-2018-25022 json
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 t…
published 4y ago modified 4mo ago also EUVD-2018-13803
- cvss
- 3.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 75%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- toktok toxcore 0.2.2
- libtoxcore Debian 14, Debian 13, Debian 12 0.2.2-1
debian advisories DEBIAN-CVE-2018-25022
- github.com/TokTok/c-toxcore#872 pull request
Is CVE-2018-25022 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.56% chance of exploitation in the next 30 days, higher than 75% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/TokTok/c-toxcore/issues/873 referenced PoC, tagged "exploit" by a source, unverified
- blog.tox.chat https://blog.tox.chat/2018/04/security-vulnerability-and-new-toxcore-release referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/TokTok/c-toxcore/pull/872
patch, third-party-advisory
-
github.com
/TokTok/c-toxcore/issues/873
exploit, issue-tracking, third-party-advisory
-
blog.tox.chat
/2018/04/security-vulnerability-and-new-toxcore-release
exploit, vendor-advisory
Sources
- CVE List CVE-2018-25022
- NVD CVE-2018-25022
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.