FreeBSD : nagios -- Command Injection Vulnerability (3ebd4cb5-657f-11de-883a-00e0815b8da8)

high Nessus Plugin ID 39578

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Secunia reports :

A vulnerability has been reported in Nagios, which can be exploited by malicious users to potentially compromise a vulnerable system.

Input passed to the 'ping' parameter in statuswml.cgi is not properly sanitised before being used to invoke the ping command. This can be exploited to inject and execute arbitrary shell commands.

Successful exploitation requires access to the ping feature of the WAP interface.

Solution

Update the affected packages.

See Also

https://github.com/NagiosEnterprises?id=15

http://www.nessus.org/u?63a0b56a

Plugin Details

Severity: High

ID: 39578

File Name: freebsd_pkg_3ebd4cb5657f11de883a00e0815b8da8.nasl

Version: 1.20

Type: local

Published: 7/1/2009

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:nagios, p-cpe:/a:freebsd:freebsd:nagios-devel, p-cpe:/a:freebsd:freebsd:nagios2, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/30/2009

Vulnerability Publication Date: 5/29/2009

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (Nagios3 statuswml.cgi Ping Command Execution)

Elliot (Nagios 3.1.0 RCE)

Reference Information

CVE: CVE-2009-2288

CWE: 78

Secunia: 35543