43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
id: redis-default-logins
|
|
|
|
info:
|
|
name: Redis - Default Logins
|
|
author: tarunKoyalwar
|
|
severity: high
|
|
description: |
|
|
Redis service was accessed with easily guessed credentials.
|
|
metadata:
|
|
max-request: 6
|
|
shodan-query: product:"redis"
|
|
tags: js,redis,default-login,network
|
|
|
|
javascript:
|
|
- pre-condition: |
|
|
isPortOpen(Host,Port)
|
|
code: |
|
|
var m = require("nuclei/redis");
|
|
m.GetServerInfoAuth(Host,Port,Password);
|
|
args:
|
|
Host: "{{Host}}"
|
|
Port: "6379"
|
|
Password: "{{passwords}}"
|
|
payloads:
|
|
passwords:
|
|
- ""
|
|
- root
|
|
- password
|
|
- admin
|
|
- iamadmin
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "redis_version"
|
|
|
|
- type: word
|
|
negative: true
|
|
words:
|
|
- "redis_mode:sentinel"
|
|
# digest: 4a0a0047304502201d31a0ae1eeef7e6c324ce85ad9deee02c744fd8f79b65aa3d197b6156eb66aa022100a731247dbf3a21ee8f7c1c1c95458407a869ba44da19856a53922a0b288ae179:922c64590222798bb761d5b6d8e72950 |