Skip to content
Info disclosure Write-up Beginner

Hunting On Memcached Servers Dumping Data

An internet-facing Memcached server on port 11211 had no authentication, allowing anyone to connect and dump cached keys and data. The author retrieved item keys and their values, which was triaged as high severity.

Aswin Thambi Panikulangara Follow

Published on systemweakness.com

Memcached servers are used to store and retrieve data in the form of key-value pairs. When client requests for data from server, its checks for the data stored in the cache.

Aswin Thambi Panikulangara, on systemweakness.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could retrieve cached item keys and data from the Memcached server, potentially exposing sensitive information.

What the attacker needed

Memcached exposed on the internet; No authentication required

The fix

The issue was fixed, though the text does not describe the fix; likely the server should be restricted to trusted networks and require authentication.

How it was found

  1. Scan the target IP with nmap to find open ports.
  2. Discover port 11211 open, indicating Memcached.
  3. Connect to the Memcached server via Telnet without authentication.
  4. Run the version command to check the server version.
  5. Use stats items to list slabs and cached items.
  6. Use stats cachedump to list keys in a slab, then get KEY to retrieve data.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Memcached is a service that stores data in memory to speed up websites. This server was left open to the internet without a password, so anyone could connect and read the stored data. The author used simple commands to list and retrieve the cached items.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Aswin Thambi Panikulangara

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.