Skip to main content
EPSS 9.4%top 4.9%

CVE-2025-34322: CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in Nagios Log Server

0
High
VulnerabilityCVE-2025-34322cvecve-2025-34322cwe-78
Published: 11/17/2025 (11/17/2025, 17:48:04 UTC)
Source: CVE Database V5
Vendor/Project: Nagios
Product: Log Server

Description

Nagios Log Server versions prior to 2026R1.0.1 contain an authenticated command injection vulnerability in the experimental 'Natural Language Queries' feature. When this feature is configured, certain user-controlled settings—including model selection and connection parameters—are read from the global configuration and concatenated into a shell command that is executed via shell_exec() without proper input handling or command-line argument sanitation. An authenticated user with access to the 'Global Settings' page can supply crafted values in these fields to inject additional shell commands, resulting in arbitrary command execution as the 'www-data' user and compromise of the Log Server host.

CVSS v4.0

Score 8.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

Affected versions
=0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/14/2026, 02:01:23 UTC

Technical Analysis

CVE-2025-34322 is an authenticated OS command injection vulnerability in Nagios Log Server's 'Natural Language Queries' feature prior to version 2026R1.0.1. The issue occurs because user-controlled settings from the global configuration are concatenated into a shell command executed via shell_exec() without proper sanitization. An authenticated user with access to the 'Global Settings' page can supply crafted values to inject arbitrary shell commands, resulting in command execution as the 'www-data' user and potential compromise of the Log Server host.

Potential Impact

Successful exploitation allows an authenticated user with access to the 'Global Settings' page to execute arbitrary OS commands on the Log Server host with 'www-data' privileges. This can lead to compromise of the host system and potentially further escalation or lateral movement depending on environment configuration. The vulnerability has a high CVSS score of 8.6, indicating significant impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the 'Global Settings' page to trusted administrators only and consider disabling the experimental 'Natural Language Queries' feature if possible to reduce exposure.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 691b68f8f84694138ddb8361

Added to database: 11/17/2025, 18:27:04 UTC

Last enriched: 05/14/2026, 02:01:23 UTC

Last updated: 09/10/2026, 19:36:50 UTC

Views: 216

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses