2021-03-09 11:23:40 +00:00
|
|
|
id: memcached-stats
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Memcached stats disclosure
|
2021-04-06 06:46:11 +00:00
|
|
|
author: pdteam
|
2021-03-09 11:23:40 +00:00
|
|
|
severity: low
|
2022-08-16 16:24:27 +00:00
|
|
|
description: |
|
|
|
|
Memcached stats is used to return server statistics such as PID, version, connections, etc.
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
2023-09-27 13:29:58 +00:00
|
|
|
max-request: 1
|
2024-06-07 10:04:29 +00:00
|
|
|
tags: network,memcached,misconfig,tcp
|
2021-03-09 11:23:40 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
tcp:
|
2021-03-09 11:23:40 +00:00
|
|
|
- inputs:
|
|
|
|
- data: "stats\r\n\r\nquit\r\n"
|
|
|
|
|
|
|
|
host:
|
2021-03-25 14:52:41 +00:00
|
|
|
- "{{Hostname}}"
|
2023-09-16 19:35:21 +00:00
|
|
|
port: 11211
|
2021-03-09 11:23:40 +00:00
|
|
|
read-size: 2048
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
2022-08-16 16:24:27 +00:00
|
|
|
- "STAT "
|
2023-10-19 13:13:52 +00:00
|
|
|
# digest: 4a0a0047304502201da937e531a9b3f9a3fdafccf01a297affa3fd218a729dcb414988b5b0b7e3290221008bfcf1490a57413e6ec1031ba521f75477509ada1d8e42ef28679d94d5b03e02:922c64590222798bb761d5b6d8e72950
|