CVE-2025-34323 Nagios Log Server < 2026R1.0.1 Local Privilege Escalation via Writable Scripts and Sudo Rules
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nagios Log Server | < 2026; < 2026R1.0.1; = 2026-r1 | 2026, 2026R1.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nagios Log Server | < 2026R1.0.1 | 2026R1.0.1 |
| nagios Log Server | < 2026 | 2026 |
| nagios Log Server | = 2026-r1 | No fix listed |
References
- www.nagios.com patch vendor-advisory
- www.nagios.com patch release-notes
- www.vulncheck.com third-party-advisory
- theyhack.me exploit technical-description