CVE-2018-25123CWE-250

CVE-2018-25123

High · published October 31, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
27.2
In the wild
Unconfirmed
What it is

⚡ A local attacker can exploit Nagios XI's MRTG component to elevate their privileges effortlessly. 🙈 Think of MRTG as a restaurant kitchen where certain chefs are allowed to handle sensitive ingredients. If one of them finds a loophole, they could not only access top-secret recipes but also change the whole menu without anyone noticing! This privilege escalation vulnerability means that someone with limited access could gain full control over the system — potentially altering configurations, accessing sensitive data, or even shutting down critical services. The implications could lead to system instability and a complete breach of trust within your monitoring environment.

Put simply

Think of MRTG as a restaurant kitchen where certain chefs are allowed to handle sensitive ingredients. If one of them finds a loophole, they could not only access top-secret recipes but also change the whole menu without anyone noticing! In Nagios XI versions prior to 5.5.7, MRTG processes run with excessive privileges, allowing a local attacker to manipulate file execution paths or writable resources for unauthorized access and control over the system.

What to do

This privilege escalation vulnerability means that someone with limited access could gain full control over the system — potentially altering configurations, accessing sensitive data, or even shutting down critical services. The implications could lead to system instability and a complete breach of trust within your monitoring environment. Upgrade to Nagios XI version 5.5.7 or later immediately to mitigate this vulnerability. Additionally, review user access levels and ensure that only necessary permissions are granted for MRTG components. Regular audits can help maintain a secure environment! You've got this! Following these steps will help you lock down your Nagios XI and keep your monitoring safe. 🛡️

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00348 · 27.2th percentile
Weakness
CWE-250 · Execution with Unnecessary Privileges
Published
2025-10-31T02:15Z
Affected products (1)
ProductVersionsFixed in
nagios/nagios_xi< 5.5.75.5.7
References (2)
EPSS history
Timeline
  • 30 OCT 21:40Z
    Nagios XI < 5.5.7 Privilege Escalation via MRTG Graphing Component
    cvelistv5