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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | libtoxcore | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | libtoxcore | Not affected vulnerable_code_not_present | ||
| Debian 14 | libtoxcore | Fixed | 0.2.2-1 | DEBIAN-CVE-2018-25022 |
| Debian 13 | libtoxcore | Fixed | 0.2.2-1 | DEBIAN-CVE-2018-25022 |
| Debian 12 | libtoxcore | Fixed | 0.2.2-1 | DEBIAN-CVE-2018-25022 |
References
- https://github.com/TokTok/c-toxcore/issues/873
- https://github.com/TokTok/c-toxcore/pull/872
- https://blog.tox.chat/2018/04/security-vulnerability-and-new-toxcore-release
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.