The Vigil@nce team watches public vulnerabilities impacting your computers, and then offers security solutions, a vigilance database and tools to fix them.

Vulnerability of Nagios Plugins: information disclosure via check_icmp

Synthesis of the vulnerability 

An attacker can use check_icmp of Nagios Plugins, to read a file with INI format, in order to obtain sensitive information.
Impacted software: Fedora, Nagios Open Source.
Severity of this computer vulnerability: 2/4.
Creation date: 21/05/2014.
Références of this announce: CVE-2014-4702, FEDORA-2015-12972, FEDORA-2015-12987, VIGILANCE-VUL-14776.

Description of the vulnerability 

The check_icmp script of Nagios Plugins is installed suid root:

The "--extra-opts" option is used to read a file in format INI :
  [section]
  var=val

However, check_icmp reads these files with root privileges.

An attacker can therefore use check_icmp of Nagios Plugins, to read a file with INI format, in order to obtain sensitive information.
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

This security bulletin impacts software or systems such as Fedora, Nagios Open Source.

Our Vigil@nce team determined that the severity of this cybersecurity announce is medium.

The trust level is of type confirmed by the editor, with an origin of user shell.

An attacker with a expert ability can exploit this vulnerability alert.

Solutions for this threat 

Nagios Plugins: version 2.0.2.
The version 2.0.2 is fixed:
  http://nagios-plugins.org/downloads/

Nagios Plugins: workaround for check_icmp.
A workaround is to remove the suid bit of check_icmp:
  chmod -s /usr/local/nagios/libexec/check_icmp

Fedora: new nagios-plugins packages.
New packages are available:
  Fedora 21: nagios-plugins 2.0.3-1.fc21
  Fedora 22: nagios-plugins 2.0.3-1.fc22
Full bulletin, software filtering, emails, fixes, ... (Request your free trial)

Computer vulnerabilities tracking service 

Vigil@nce provides applications vulnerabilities announces. The Vigil@nce security watch publishes vulnerability bulletins about threats impacting the information system.