Critical Vulnerability
Memcached Amplification Checker
Memcached UDP reflection is the most powerful DDoS amplification vector ever discovered. A single exposed server can amplify attack traffic by up to 51,000x.
A 15-byte request can generate a 750 KB response.
Amplification Factor Comparison
How the Attack Works
Memcached UDP Reflection Attack
Memcached is a high-performance caching system used by sites like Facebook, Twitter, and YouTube. By default, older versions listen on UDP port 11211 on all interfaces - including public IPs.
Attackers send a tiny stats or get request (as small as 15 bytes) with a spoofed source IP. The Memcached server responds with up to 750 KB of cached data, directed at the victim. That's an amplification factor of 51,000x.
Unlike DNS or NTP amplification, Memcached requires no special queries or vulnerabilities - it's working exactly as designed. The problem is that it was never meant to be exposed to the internet.
The GitHub Attack (Feb 28, 2018)
The largest DDoS attack ever recorded at the time hit GitHub using Memcached amplification. It peaked at 1.7 Tbps and 126.9 million packets per second. The attack was mitigated within 10 minutes by Akamai Prolexic, but it demonstrated the devastating potential of this vector.
:11211 UDP exposed
Test Your Server
Commands to Check Memcached Exposure
Fix It Now
Remediation Steps (Do This Immediately)
Disable UDP on Memcached (most critical)
Memcached has supported a -U 0 flag since version 1.5.6 to disable UDP. As of 1.5.6+, UDP is disabled by default. If you're on an older version, add it explicitly.
Bind to localhost only
Unless you need Memcached accessible from other servers, bind it to 127.0.0.1. This prevents any external access.
Firewall port 11211
Block all external access to port 11211 as a safety net, even if you've already bound to localhost.
Upgrade Memcached
Update to Memcached 1.5.6+ where UDP is disabled by default. On Ubuntu/Debian: apt update && apt upgrade memcached. On RHEL/CentOS: yum update memcached.
Enable SASL authentication
If Memcached must be network-accessible, enable SASL authentication to require credentials. Add -S to startup flags and configure SASL credentials.