34 lines
680 B
YAML
34 lines
680 B
YAML
id: exposed-redis
|
|
|
|
info:
|
|
name: Redis Server - Unauthenticated Access
|
|
author: pdteam
|
|
severity: high
|
|
description: Redis server without any required authentication was discovered.
|
|
reference:
|
|
- https://redis.io/topics/security
|
|
metadata:
|
|
max-request: 4
|
|
tags: network,redis,unauth
|
|
|
|
tcp:
|
|
- inputs:
|
|
- data: "info\r\nquit\r\n"
|
|
|
|
host:
|
|
- "{{Hostname}}"
|
|
- "{{Host}}:6379"
|
|
- "tls://{Hostname}}"
|
|
- "tls://{{Host}}:6380"
|
|
read-size: 2048
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "redis_version"
|
|
- type: word
|
|
negative: true
|
|
words:
|
|
- "redis_mode:sentinel"
|