CVE-2020-15572
📋 TL;DR
This vulnerability is an out-of-bounds memory access in Tor versions before 0.4.3.6 when built with Mozilla NSS. It allows remote attackers to cause a denial-of-service (crash) of Tor instances. Only Tor instances compiled with NSS instead of OpenSSL are affected.
💻 Affected Systems
- Tor
📦 What is this software?
Tor by Torproject
Tor by Torproject
Tor by Torproject
Tor by Torproject
Tor by Torproject
⚠️ Risk & Real-World Impact
Worst Case
Remote attacker crashes Tor relay or exit node, disrupting anonymity network services
Likely Case
Remote denial-of-service causing Tor instance to crash and restart
If Mitigated
No impact if patched or using OpenSSL build
🎯 Exploit Status
Remote exploitation requires sending crafted traffic to vulnerable Tor instance
🛠️ Fix & Mitigation
✅ Official Fix
Patch Version: 0.4.3.6 or later
Vendor Advisory: https://blog.torproject.org/new-release-tor-03511-0428-0436-security-fixes
Restart Required: Yes
Instructions:
1. Update Tor to version 0.4.3.6 or later. 2. Restart Tor service. 3. Verify version with 'tor --version'
🔧 Temporary Workarounds
Switch to OpenSSL build
allRecompile Tor with OpenSSL instead of NSS if using NSS build
Network isolation
allRestrict network access to Tor instances to trusted sources only
🧯 If You Can't Patch
- Monitor Tor instances for crashes and restart automatically
- Isolate vulnerable Tor instances from untrusted networks
🔍 How to Verify
Check if Vulnerable:
Check Tor version with 'tor --version' and verify if built with NSS
Check Version:
tor --version
Verify Fix Applied:
Confirm version is 0.4.3.6 or later with 'tor --version'
📡 Detection & Monitoring
Log Indicators:
- Tor process crashes
- Unexpected restarts in Tor logs
- Segmentation fault errors
Network Indicators:
- Unusual traffic patterns to Tor ports
- Connection spikes followed by service disruption
SIEM Query:
process_name:tor AND (event_type:crash OR exit_code:139 OR exit_code:11)
🔗 References
- https://blog.torproject.org/new-release-tor-03511-0428-0436-security-fixes
- https://gitlab.torproject.org/tpo/core/tor/-/issues/33119
- https://trac.torproject.org/projects/tor/wiki/TROVE
- https://blog.torproject.org/new-release-tor-03511-0428-0436-security-fixes
- https://gitlab.torproject.org/tpo/core/tor/-/issues/33119
- https://trac.torproject.org/projects/tor/wiki/TROVE