CVE-2019-3698
Nagios vulnerability analysis and mitigation

Overview

CVE-2019-3698 is a UNIX Symbolic Link (Symlink) Following vulnerability discovered in the cronjob shipped with nagios software. The vulnerability affects SUSE Linux Enterprise Server 12 and other SUSE Linux distributions. The issue was disclosed on February 28, 2020 (NVD).

Technical details

The vulnerability exists in the /etc/cron.weekly/nagios cronjob which allows the 'nagios' user to escalate privileges to 'root' by placing symlinks in /var/log/nagios/archives. The cronjob calls '/usr/bin/bzip2' on files in /var/log/nagios/archives/*.log, but since both /var/log/nagios and /var/log/nagios/archives are owned by 'nagios', the user can place malicious symlinks. The vulnerability is only exploitable when NAGIOS_COMPRESS_LOGFILES is set in /etc/sysconfig/nagios (SUSE Bugzilla).

Impact

The vulnerability could allow local attackers to cause denial of service (DoS), deduce existence of private files, potentially leak private files through race conditions, or corrupt any files in the system that end with *.log by manipulating symlinks. The most serious impact is the potential file leakage, though the race condition is difficult to exploit due to the weekly execution schedule of the cronjob (SUSE Bugzilla).

Mitigation and workarounds

The issue was fixed by modifying the cronjob to run the bzip2 command in the nagios user context using setpriv instead of running as root. The fix was released through security updates for affected SUSE Linux distributions (OpenSUSE Security).

Additional resources


SourceThis report was generated using AI

Related Nagios vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2020-35269HIGH8.8
  • NagiosNagios
  • nagios4
NoNoDec 23, 2020
CVE-2020-6585HIGH8.8
  • NagiosNagios
  • nagios
NoNoMar 16, 2020
CVE-2020-6584MEDIUM6.5
  • NagiosNagios
  • nagios
NoNoMar 16, 2020
CVE-2020-6586MEDIUM5.4
  • NagiosNagios
  • nagios
NoNoMar 16, 2020
CVE-2020-13977MEDIUM4.9
  • NagiosNagios
  • nagios-www
NoYesJun 09, 2020

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