MyCERT Advisories, Alerts and Summaries for the year 2018
MA-696.032018: MyCERT Advisory – Security Guidance for Memcached
Date first published: 14/03/2018
Red Hat has released security recommendations to address potential Distributed Denial of Service attacks using Memcached. This misconfiguration could allow an attacker to exploit Memcached services as a reflection and amplification vector, causing unexpected volumes of traffic to be sent to targeted systems and networks.
What is Memcached?
Memcached is an open source, high-performance, distributed memory object caching system. While it is generic in nature, it is intended for use in speeding up dynamic web applications by alleviating database load.
Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
Memcached allows applications to take memory from parts of system where it has more than it needs and make it accessible to areas where applications have less than they need.
An attacker could exploit memcached services to launch DDoS amplification attacks.
3.0 Affected Product
Memcached servers that have UDP/11211 or TCP/11211 open and are internet-accessible. Memcached servers that are 1.2.7 or later and using default configurations should be assessed immediately.
MyCERT advise memcached users and system administrators to properly configured Memcached server and use industry best current practices that includes:
• Using source-address validation to filter ingress traffic (BCP38/BCP84)
• Using access control lists (ACL) to restrict source IP addresses/ports and limit traffic.
• Upgrade memcached server to version 1.5.6, because it will disable the UDP protocol by default.
• Need to evaluate if the Memcached server can be limited to binding to a local interface, and to block the UDP protocol at the firewall level.
Details about these mitigations can be found at:
Generally, MyCERT advises the users of this product to be updated with the latest security announcements by the vendor and follow best practice security policies to determine which updates should be applied.
For further enquiries, please contact MyCERT through the following channels:
E-mail: firstname.lastname@example.org or email@example.com
Phone: 1-300-88-2999 (monitored during business hours)
Fax: +603 89453442
Handphone: +60 19 2665850 (24x7 call incident reporting)
SMS: CYBER999 REPORT EMAIL COMPLAINT to 15888
Business Hours: Mon - Fri 09:00 AM - 18:00 PM MYT
Cyber999 Mobile Apps: IOS Users or Android Users