CVE-2023-47407: World-readable plaintext credentials in Nagios XI config.inc.php
CVE-2023-47407 is an information exposure vulnerability in Nagios XI affecting at least version 5.11.1. Sensitive files on the Nagios XI host were readable by all local users. Specifically, /usr/local/nagiosxi/html/config.inc.php contained plaintext database credentials and was world-readable, and /usr/local/nagiosxi/etc/htpasswd.users was also world-readable and exposed SHA1 password hashes for Nagios XI accounts. The issue is caused by overly permissive filesystem permissions on credential-bearing files, allowing unauthorized local users to read secrets that should be restricted to privileged service accounts or administrators.
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.
A local attacker or any user with access to the Nagios XI host can recover sensitive credentials from world-readable files. This can expose database credentials in plaintext and password hashes for Nagios XI accounts, enabling unauthorized access to the application, database, or related infrastructure, depending on credential reuse and hash cracking success. The exposure also increases the likelihood of privilege escalation, lateral movement, and compromise of monitoring-managed assets if the recovered credentials are reused elsewhere.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, manually restrict filesystem permissions on the affected files to the minimum necessary, verify ownership is limited to the appropriate privileged account, and audit the system for unauthorized local access. Treat the credentials in config.inc.php and any hashes in htpasswd.users as potentially compromised: rotate database passwords, reset affected user passwords, and review for credential reuse across other systems. Monitor for suspicious local access and database or application authentication activity until the platform is upgraded.
Remediation
Patch, then assume compromise.
Upgrade Nagios XI to version 5.11.4 or later, which the advisory states mitigates this issue along with the related vulnerabilities disclosed by NCC Group. In addition, ensure credential-bearing files such as /usr/local/nagiosxi/html/config.inc.php and /usr/local/nagiosxi/etc/htpasswd.users have restrictive ownership and permissions so they are not world-readable. Rotate any credentials and password hashes that may have been exposed, including database credentials and affected Nagios XI account passwords.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2023-47407 exploited in the wild?
- As of Jun 9, 2026, Mallory has no reports of CVE-2023-47407 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-47407?
- As of Jun 9, 2026, Mallory has found no public exploit for CVE-2023-47407.
- Is there a patch for CVE-2023-47407?
- Upgrade Nagios XI to version 5.11.4 or later, which the advisory states mitigates this issue along with the related vulnerabilities disclosed by NCC Group. In addition, ensure credential-bearing files such as /usr/local/nagiosxi/html/config.inc.php and /usr/local/nagiosxi/etc/htpasswd.users have restrictive ownership and permissions so they are not world-readable.
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.