Description
nagios.upgrade_to_v3.sh, as distributed by Red Hat and possibly others for Nagios Core 3.4.4, 3.5.1, and earlier, allows local users to overwrite arbitrary files via a symlink attack on a temporary nagioscfg file with a predictable name in /tmp/.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat OpenStack 3 | nagios +2 | 3.5.1-2.el6ost | RHSA-2013:1526 |
Advisories 1
- RHSA-2013:1526 Red Hat Security Advisory: nagios security update Red Hat Security Advisories (RHSA) · Jan 29, 2026
References
- RHSA-2013:1526 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=958015