Nagios Log Server
Nagios Log Server < 2026R1.0.1 Local Privilege Escalation via Writable Scripts and Sudo Rules
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2026R1.0.1
Fixed in 2026R1.0.1
Mitigation
Upgrade Log Server to 2026R1.0.1 or later.
References
- Vendor advisory nagios.com/products/security
- Patch nagios.com/changelog/nagios-log-server/nagios-…
Timeline
Days relative to CVE publicationFirst public PoC 8.1 days after publication; not in CISA KEV. First PoC: mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server (created 25 Nov 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server | 25 Nov 2025 +8.1 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://theyhack.me/Rooting-Nagios-Log-Server/ | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /nagioslogserver/dashboard/natural_language_to_query
- Key headers
Cookie: ls_session={var}- Ports
- 8080
- Seen in
- 1 repo: mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server
- Evidence
- mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server/README.md:8
POST /nagioslogserver/admin/globals
- Key headers
Cookie: csrf_ls=8f053ed2cb80988cea42d3ae3fc4415d; ls_session={var}- Body markers
csrf_ls=8f053ed2cb80988cea42d3ae3fc4415dnatural_language_query=1nlp_disclaimer=onai_provider=self_hostedself_host_ip_address=`touch /tmp/rce`ai_port=8000saveglobals=1inapplication/x-www-form-urlencoded- Ports
- 8080
- Seen in
- 1 repo: mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server
- Evidence
- mcorybillington/CVE-2025-34322_CVE-2025-34323_Nagios_Log_Server/README.md:7
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/nagioslogserver/dashboard/natural_language_to_query(?:[?#].*)?$
(?i)^/nagioslogserver/admin/globals(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-34323 Nagios Log Server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/nagioslogserver/dashboard/natural_language_to_query"; http.header; content:"Cookie: ls_session="; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-34323; classtype:web-application-attack; sid:9869125; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2025-34323 Nagios Log Server exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/nagioslogserver/admin/globals"; http.header; content:"Cookie: csrf_ls=8f053ed2cb80988cea42d3ae3fc4415d|3b| ls_session="; nocase; http.request_body; content:"csrf_ls=8f053ed2cb80988cea42d3ae3fc4415d"; http.request_body; content:"natural_language_query=1"; http.request_body; content:"nlp_disclaimer=on"; http.request_body; content:"ai_provider=self_hosted"; http.request_body; content:"self_host_ip_address=`touch /tmp/rce`"; http.request_body; content:"ai_port=8000"; http.request_body; content:"saveglobals=1"; reference:url,poc.griffinguard.io/cve/CVE-2025-34323; classtype:web-application-attack; sid:9041465; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Nagios Log Server exploit attempt (CVE-2025-34323)
id: gg-pocmon-cve-2025-34323-9869125
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-34323. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-34323
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/nagioslogserver/dashboard/natural_language_to_query'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.34323
title: Nagios Log Server exploit attempt (CVE-2025-34323)
id: gg-pocmon-cve-2025-34323-9041465
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-34323. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-34323
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/nagioslogserver/admin/globals'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.34323