Nagios XI versions prior to 5.5.7 contain a privilege escalation vulnerability in the MRTG graphing component. MRTG-related processes/scripts executed with excessive privileges, allowing a local attacker with limited system access to abuse file/command execution paths or writable resources to gain elevated privileges.
PUBLISHED5.2CWE-250
Nagios XI < 5.5.7 Privilege Escalation via MRTG Graphing Component
Problem type
Affected products
Nagios
XI
< 5.5.7 - AFFECTED
References
nagios.com
https://www.nagios.com/changelog/nagios-xi/
vulncheck.com
https://www.vulncheck.com/advisories/nagios-xi-privilege-escalation-via-mrtg-graphing-component
JSON source
Click to expand
{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2018-25123",
"assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"assignerShortName": "VulnCheck",
"dateUpdated": "2025-10-31T13:24:53.962Z",
"dateReserved": "2025-10-29T20:49:14.561Z",
"datePublished": "2025-10-30T21:40:26.892Z",
"state": "PUBLISHED"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2025-10-30T21:40:26.892Z"
},
"title": "Nagios XI < 5.5.7 Privilege Escalation via MRTG Graphing Component",
"descriptions": [
{
"lang": "en",
"value": "Nagios XI versions prior to 5.5.7 contain a privilege escalation vulnerability in the MRTG graphing component. MRTG-related processes/scripts executed with excessive privileges, allowing a local attacker with limited system access to abuse file/command execution paths or writable resources to gain elevated privileges.",
"supportingMedia": [
{
"type": "text/html",
"base64": false,
"value": "Nagios XI versions prior to 5.5.7 contain a privilege escalation vulnerability in the MRTG graphing component. MRTG-related processes/scripts executed with excessive privileges, allowing a local attacker with limited system access to abuse file/command execution paths or writable resources to gain elevated privileges.<br>"
}
]
}
],
"affected": [
{
"vendor": "Nagios",
"product": "XI",
"modules": [
"MRTG graphing component"
],
"defaultStatus": "unaffected",
"versions": [
{
"version": "0",
"status": "affected",
"versionType": "semver",
"lessThan": "5.5.7"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-250 Execution with Unnecessary Privileges",
"cweId": "CWE-250",
"type": "CWE"
}
]
}
],
"references": [
{
"url": "https://www.nagios.com/changelog/nagios-xi/",
"tags": [
"release-notes",
"patch"
]
},
{
"url": "https://www.vulncheck.com/advisories/nagios-xi-privilege-escalation-via-mrtg-graphing-component",
"tags": [
"third-party-advisory"
]
}
],
"impacts": [
{
"capecId": "CAPEC-69",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-69 Target Programs with Elevated Privileges"
}
]
}
],
"metrics": [
{
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"solutions": [
{
"lang": "en",
"value": "Nagios addresses this vulnerability as \"Fixed privilege escalation security vulnerability in MRTG graphing component by running as nagios user/group.\"",
"supportingMedia": [
{
"type": "text/html",
"base64": false,
"value": "Nagios addresses this vulnerability as \"Fixed privilege escalation security vulnerability in MRTG graphing component by running as nagios user/group.\"<br>"
}
]
}
],
"credits": [
{
"lang": "en",
"value": "Daniel Sayk of Telekom Security",
"type": "finder"
}
]
},
"adp": [
{
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2025-10-31T13:24:53.962Z"
},
"title": "CISA ADP Vulnrichment",
"metrics": [
{}
]
}
]
}
}