Ubuntu 5.04 / 5.10 : nagios vulnerability (USN-282-1)

Medium Nessus Plugin ID 21376


The remote Ubuntu host is missing one or more security-related patches.


The nagios CGI scripts did not sufficiently check the validity of the HTTP Content-Length attribute. By sending a specially crafted HTTP request with a negative Content-Length value to the Nagios server, a remote attacker could exploit this to execute arbitrary code with web server privileges.

Please note that the Apache 2 web server already checks for valid Content-Length values, so installations using Apache 2 (the only web server officially supported in Ubuntu) are not vulnerable to this flaw.

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.


Update the affected packages.

Plugin Details

Severity: Medium

ID: 21376

File Name: ubuntu_USN-282-1.nasl

Version: $Revision: 1.11 $

Type: local

Agent: unix

Published: 2006/05/13

Modified: 2016/05/26

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:nagios-common, p-cpe:/a:canonical:ubuntu_linux:nagios-mysql, p-cpe:/a:canonical:ubuntu_linux:nagios-pgsql, p-cpe:/a:canonical:ubuntu_linux:nagios-text, cpe:/o:canonical:ubuntu_linux:5.04, cpe:/o:canonical:ubuntu_linux:5.10

Required KB Items: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

Patch Publication Date: 2006/05/08

Vulnerability Publication Date: 2006/05/08

Reference Information

CVE: CVE-2006-2162

OSVDB: 25434

USN: 282-1