CVE-2023-47411: Recursive Filesystem Deletion as Root in Nagios XI backup_xi.sh
CVE-2023-47411 is a destructive vulnerability in Nagios XI affecting the backup_xi.sh backup script. According to the provided context, the flaw is caused by unsafe handling of attacker-controlled name and directory parameters in backup_xi.sh. An attacker who can control inputs passed to this script can influence the path operated on by a root-executed recursive deletion routine, resulting in behavior described as directly equivalent to executing rm -rf /. The issue therefore allows attacker-influenced filesystem path control in a privileged maintenance script, turning a backup-related operation into arbitrary recursive deletion of filesystem content as root. The advisory context states this issue was mitigated in Nagios XI version 5.11.4.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause catastrophic destruction of the Nagios XI host by recursively deleting arbitrary filesystem paths as root, up to and including the entire filesystem. This can render the system unbootable, destroy application data and configuration, interrupt monitoring operations, and require full host rebuild and restoration from backups. Because the deletion occurs with root privileges, the impact is not limited by normal file ownership or discretionary access controls.
Mitigation
If you can’t patch tonight, do this now.
Until patched, restrict the ability to invoke or influence backup_xi.sh and any associated backup configuration parameters to only fully trusted administrators. Prevent the nagios user or other lower-privileged contexts from supplying crafted name or directory values to privileged backup workflows. Where operationally feasible, disable or tightly control scheduled/manual backup features that rely on this script, add defensive validation around acceptable backup paths, and monitor for unexpected execution of destructive filesystem commands or anomalous backup job parameters.
Remediation
Patch, then assume compromise.
Upgrade Nagios XI to version 5.11.4 or later, as the provided context states that all disclosed vulnerabilities, including CVE-2023-47411, were mitigated in version 5.11.4. In addition, review any local customizations or wrappers invoking backup_xi.sh to ensure attacker-controlled values cannot be passed into privileged filesystem operations, and validate that backup-related scripts enforce strict path validation and safe deletion semantics.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2023-47411 exploited in the wild?
- As of Jun 9, 2026, Mallory has no reports of CVE-2023-47411 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-47411?
- As of Jun 9, 2026, Mallory has found no public exploit for CVE-2023-47411.
- Is there a patch for CVE-2023-47411?
- Upgrade Nagios XI to version 5.11.4 or later, as the provided context states that all disclosed vulnerabilities, including CVE-2023-47411, were mitigated in version 5.11.4. In addition, review any local customizations or wrappers invoking backup_xi.sh to ensure attacker-controlled values cannot be passed into privileged filesystem operations, and validate that backup-related scripts enforce strict path validation and safe deletion semantics.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.