CVE-2025-34323: CWE-732 Incorrect Permission Assignment for Critical Resource in Nagios Log Server
Nagios Log Server versions prior to 2026R1.0.1 are vulnerable to local privilege escalation due to a combination of sudo misconfiguration and group-writable application directories. The 'www-data' user is a member of the 'nagios' group, which has write access to '/usr/local/nagioslogserver/scripts', while several scripts in this directory are owned by root and may be executed via sudo without a password. A local attacker running as 'www-data' can move one of these root-owned scripts to a backup name and create a replacement script with attacker-controlled content at the original path, then invoke it with sudo. This allows arbitrary commands to be executed with root privileges, providing full compromise of the underlying operating system.
AI Analysis
Technical Summary
CVE-2025-34323 is a local privilege escalation vulnerability in Nagios Log Server versions before 2026R1.0.1. It arises from a sudo misconfiguration combined with group-writable application directories. Specifically, the 'www-data' user belongs to the 'nagios' group, which has write permissions on '/usr/local/nagioslogserver/scripts'. Several scripts in this directory are owned by root and can be run via sudo without requiring a password. An attacker with 'www-data' privileges can rename an original root-owned script and replace it with a malicious script at the same path, then execute it with sudo to gain root-level command execution and full control over the operating system.
Potential Impact
Successful exploitation allows a local attacker with 'www-data' privileges to execute arbitrary commands as root, resulting in complete compromise of the underlying operating system. This elevates the attacker’s privileges from a limited user to full administrative control, posing a critical security risk to affected systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write permissions on the '/usr/local/nagioslogserver/scripts' directory to prevent unauthorized modifications. Review sudoers configurations to ensure that scripts cannot be executed without appropriate authentication. Monitor for local unauthorized access and consider limiting membership of the 'nagios' group. Avoid running Nagios Log Server versions prior to 2026R1.0.1 in untrusted environments.
CVE-2025-34323: CWE-732 Incorrect Permission Assignment for Critical Resource in Nagios Log Server
Description
Nagios Log Server versions prior to 2026R1.0.1 are vulnerable to local privilege escalation due to a combination of sudo misconfiguration and group-writable application directories. The 'www-data' user is a member of the 'nagios' group, which has write access to '/usr/local/nagioslogserver/scripts', while several scripts in this directory are owned by root and may be executed via sudo without a password. A local attacker running as 'www-data' can move one of these root-owned scripts to a backup name and create a replacement script with attacker-controlled content at the original path, then invoke it with sudo. This allows arbitrary commands to be executed with root privileges, providing full compromise of the underlying operating system.
CVSS v4.0
Score 8.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-34323 is a local privilege escalation vulnerability in Nagios Log Server versions before 2026R1.0.1. It arises from a sudo misconfiguration combined with group-writable application directories. Specifically, the 'www-data' user belongs to the 'nagios' group, which has write permissions on '/usr/local/nagioslogserver/scripts'. Several scripts in this directory are owned by root and can be run via sudo without requiring a password. An attacker with 'www-data' privileges can rename an original root-owned script and replace it with a malicious script at the same path, then execute it with sudo to gain root-level command execution and full control over the operating system.
Potential Impact
Successful exploitation allows a local attacker with 'www-data' privileges to execute arbitrary commands as root, resulting in complete compromise of the underlying operating system. This elevates the attacker’s privileges from a limited user to full administrative control, posing a critical security risk to affected systems.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict write permissions on the '/usr/local/nagioslogserver/scripts' directory to prevent unauthorized modifications. Review sudoers configurations to ensure that scripts cannot be executed without appropriate authentication. Monitor for local unauthorized access and consider limiting membership of the 'nagios' group. Avoid running Nagios Log Server versions prior to 2026R1.0.1 in untrusted environments.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2025-04-15T19:15:22.585Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 691b639ec08982598af882b0
Added to database: 11/17/2025, 18:04:14 UTC
Last enriched: 05/14/2026, 02:01:32 UTC
Last updated: 09/10/2026, 19:36:50 UTC
Views: 219
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.