CVE-2020-10745

7.5 HIGH

📋 TL;DR

This vulnerability allows remote attackers to cause denial of service through excessive CPU consumption by exploiting a flaw in Samba's NetBIOS over TCP/IP processing. All Samba servers before versions 4.10.17, 4.11.11, and 4.12.4 are affected. The primary impact is system availability degradation.

💻 Affected Systems

Products:
  • Samba
Versions: All versions before 4.10.17, before 4.11.11, and before 4.12.4
Operating Systems: Linux, Unix-like systems running Samba
Default Config Vulnerable: ⚠️ Yes
Notes: Any Samba installation with NetBIOS over TCP/IP enabled (default configuration) is vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete service unavailability due to CPU exhaustion, potentially affecting all Samba services including file sharing, authentication, and domain services.

🟠

Likely Case

Degraded performance and intermittent service disruptions affecting Samba-dependent applications and users.

🟢

If Mitigated

Minimal impact with proper network segmentation and monitoring in place to detect and block attack attempts.

🌐 Internet-Facing: HIGH - Remote unauthenticated attackers can exploit this vulnerability without any credentials.
🏢 Internal Only: MEDIUM - Internal attackers could still exploit this, but network segmentation reduces exposure.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

The vulnerability is in protocol processing, making exploitation relatively straightforward for attackers with network access.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 4.10.17, 4.11.11, or 4.12.4 and later

Vendor Advisory: https://bugzilla.redhat.com/show_bug.cgi?id=1849491

Restart Required: Yes

Instructions:

1. Check current Samba version. 2. Update using your distribution's package manager (apt, yum, etc.). 3. Restart Samba services (smbd, nmbd). 4. Verify the update was successful.

🔧 Temporary Workarounds

Disable NetBIOS over TCP/IP

linux

Disable the vulnerable protocol component if not required

Edit /etc/samba/smb.conf and add: disable netbios = yes
Restart Samba: systemctl restart smbd nmbd

Network segmentation

linux

Restrict access to Samba ports (137-139, 445) using firewall rules

iptables -A INPUT -p tcp --dport 137:139 -j DROP
iptables -A INPUT -p udp --dport 137:139 -j DROP
iptables -A INPUT -p tcp --dport 445 -j DROP

🧯 If You Can't Patch

  • Implement strict network access controls to limit Samba exposure
  • Deploy rate limiting or intrusion prevention systems to detect and block DoS attempts

🔍 How to Verify

Check if Vulnerable:

Check Samba version: smbd --version | grep 'Version'

Check Version:

smbd --version | grep -o 'Version [0-9.]\+'

Verify Fix Applied:

Verify version is 4.10.17+, 4.11.11+, or 4.12.4+ and test Samba functionality

📡 Detection & Monitoring

Log Indicators:

  • High CPU usage by smbd/nmbd processes
  • Unusual NetBIOS traffic patterns
  • Connection spikes to ports 137-139 or 445

Network Indicators:

  • Abnormal NetBIOS packet rates
  • Sustained connections to Samba ports from single sources

SIEM Query:

source="samba.log" AND ("high cpu" OR "excessive connections" OR "netbios flood")

🔗 References

📤 Share & Export