ID CVE-2008-5027
Summary The Nagios process in (1) Nagios before 3.0.5 and (2) op5 Monitor before 4.0.1 allows remote authenticated users to bypass authorization checks, and trigger execution of arbitrary programs by this process, via an (a) custom form or a (b) browser addon.
References
Vulnerable Configurations
  • cpe:2.3:a:nagios:nagios:1.0_b3
    cpe:2.3:a:nagios:nagios:1.0_b3
  • cpe:2.3:a:nagios:nagios:1.0b1
    cpe:2.3:a:nagios:nagios:1.0b1
  • cpe:2.3:a:nagios:nagios:1.0_b1
    cpe:2.3:a:nagios:nagios:1.0_b1
  • cpe:2.3:a:nagios:nagios:1.0_b2
    cpe:2.3:a:nagios:nagios:1.0_b2
  • cpe:2.3:a:nagios:nagios:1.0
    cpe:2.3:a:nagios:nagios:1.0
  • cpe:2.3:a:nagios:nagios:1.0b5
    cpe:2.3:a:nagios:nagios:1.0b5
  • cpe:2.3:a:nagios:nagios:1.0b4
    cpe:2.3:a:nagios:nagios:1.0b4
  • cpe:2.3:a:nagios:nagios:1.0b3
    cpe:2.3:a:nagios:nagios:1.0b3
  • cpe:2.3:a:nagios:nagios:1.0b2
    cpe:2.3:a:nagios:nagios:1.0b2
  • cpe:2.3:a:nagios:nagios:1.4.1
    cpe:2.3:a:nagios:nagios:1.4.1
  • cpe:2.3:a:nagios:nagios:2.0b3
    cpe:2.3:a:nagios:nagios:2.0b3
  • cpe:2.3:a:nagios:nagios:2.0b2
    cpe:2.3:a:nagios:nagios:2.0b2
  • cpe:2.3:a:nagios:nagios:2.0b1
    cpe:2.3:a:nagios:nagios:2.0b1
  • cpe:2.3:a:nagios:nagios:2.0
    cpe:2.3:a:nagios:nagios:2.0
  • cpe:2.3:a:nagios:nagios:1.4
    cpe:2.3:a:nagios:nagios:1.4
  • cpe:2.3:a:nagios:nagios:1.3
    cpe:2.3:a:nagios:nagios:1.3
  • cpe:2.3:a:nagios:nagios:1.2
    cpe:2.3:a:nagios:nagios:1.2
  • cpe:2.3:a:nagios:nagios:1.1
    cpe:2.3:a:nagios:nagios:1.1
  • cpe:2.3:a:nagios:nagios:1.0b6
    cpe:2.3:a:nagios:nagios:1.0b6
  • cpe:2.3:a:nagios:nagios:2.0b6
    cpe:2.3:a:nagios:nagios:2.0b6
  • cpe:2.3:a:nagios:nagios:2.2
    cpe:2.3:a:nagios:nagios:2.2
  • cpe:2.3:a:nagios:nagios:2.0b5
    cpe:2.3:a:nagios:nagios:2.0b5
  • cpe:2.3:a:nagios:nagios:2.1
    cpe:2.3:a:nagios:nagios:2.1
  • cpe:2.3:a:nagios:nagios:2.0b4
    cpe:2.3:a:nagios:nagios:2.0b4
  • cpe:2.3:a:nagios:nagios:2.0rc2
    cpe:2.3:a:nagios:nagios:2.0rc2
  • cpe:2.3:a:nagios:nagios:2.0rc1
    cpe:2.3:a:nagios:nagios:2.0rc1
  • cpe:2.3:a:nagios:nagios:2.3
    cpe:2.3:a:nagios:nagios:2.3
  • cpe:2.3:a:nagios:nagios:2.10
    cpe:2.3:a:nagios:nagios:2.10
  • cpe:2.3:a:nagios:nagios:2.11
    cpe:2.3:a:nagios:nagios:2.11
  • cpe:2.3:a:nagios:nagios:2.3.1
    cpe:2.3:a:nagios:nagios:2.3.1
  • cpe:2.3:a:nagios:nagios:2.4
    cpe:2.3:a:nagios:nagios:2.4
  • cpe:2.3:a:nagios:nagios:2.5
    cpe:2.3:a:nagios:nagios:2.5
  • cpe:2.3:a:nagios:nagios:2.7
    cpe:2.3:a:nagios:nagios:2.7
  • cpe:2.3:a:nagios:nagios:2.8
    cpe:2.3:a:nagios:nagios:2.8
  • cpe:2.3:a:nagios:nagios:2.9
    cpe:2.3:a:nagios:nagios:2.9
  • Nagios 3.0.4
    cpe:2.3:a:nagios:nagios:3.0.4
  • Nagios 3.0.3
    cpe:2.3:a:nagios:nagios:3.0.3
  • Nagios 3.0.2
    cpe:2.3:a:nagios:nagios:3.0.2
  • Nagios 3.0.1
    cpe:2.3:a:nagios:nagios:3.0.1
  • Nagios 3.0
    cpe:2.3:a:nagios:nagios:3.0
  • Nagios 3.0 release candidate 3
    cpe:2.3:a:nagios:nagios:3.0:rc3
  • Nagios 3.0.release candidate 2
    cpe:2.3:a:nagios:nagios:3.0:rc2
  • Nagios 3.0 release candidate 1
    cpe:2.3:a:nagios:nagios:3.0:rc1
  • Nagios 3.0 beta1
    cpe:2.3:a:nagios:nagios:3.0:beta1
  • Nagios 3.0 beta2
    cpe:2.3:a:nagios:nagios:3.0:beta2
  • Nagios 3.0 beta3
    cpe:2.3:a:nagios:nagios:3.0:beta3
  • Nagios 3.0 beta4
    cpe:2.3:a:nagios:nagios:3.0:beta4
  • Nagios 3.0 beta5
    cpe:2.3:a:nagios:nagios:3.0:beta5
  • Nagios 3.0 beta6
    cpe:2.3:a:nagios:nagios:3.0:beta6
  • Nagios 3.0 beta7
    cpe:2.3:a:nagios:nagios:3.0:beta7
  • Nagios 3.0 alpha4
    cpe:2.3:a:nagios:nagios:3.0:alpha4
  • Nagios 3.0 alpha3
    cpe:2.3:a:nagios:nagios:3.0:alpha3
  • Nagios 3.0 alpha2
    cpe:2.3:a:nagios:nagios:3.0:alpha2
  • Nagios 3.0 alpha1
    cpe:2.3:a:nagios:nagios:3.0:alpha1
  • cpe:2.3:a:op5:monitor:4.0.0
    cpe:2.3:a:op5:monitor:4.0.0
  • cpe:2.3:a:op5:monitor:3.3.3
    cpe:2.3:a:op5:monitor:3.3.3
  • cpe:2.3:a:op5:monitor:3.3.2
    cpe:2.3:a:op5:monitor:3.3.2
  • cpe:2.3:a:op5:monitor:3.3.1
    cpe:2.3:a:op5:monitor:3.3.1
  • cpe:2.3:a:op5:monitor:3.2.4
    cpe:2.3:a:op5:monitor:3.2.4
  • cpe:2.3:a:op5:monitor:3.0.0
    cpe:2.3:a:op5:monitor:3.0.0
  • cpe:2.3:a:op5:monitor:2.6
    cpe:2.3:a:op5:monitor:2.6
  • cpe:2.3:a:op5:monitor:3.2
    cpe:2.3:a:op5:monitor:3.2
  • cpe:2.3:a:op5:monitor:3.0
    cpe:2.3:a:op5:monitor:3.0
  • cpe:2.3:a:op5:monitor:2.4
    cpe:2.3:a:op5:monitor:2.4
  • cpe:2.3:a:op5:monitor:2.8
    cpe:2.3:a:op5:monitor:2.8
CVSS
Base: 6.5 (as of 11-11-2008 - 09:58)
Impact:
Exploitability:
CWE CWE-264
CAPEC
  • Accessing, Modifying or Executing Executable Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
  • Blue Boxing
    This type of attack against older telephone switches and trunks has been around for decades. A tone is sent by an adversary to impersonate a supervisor signal which has the effect of rerouting or usurping command of the line. While the US infrastructure proper may not contain widespread vulnerabilities to this type of attack, many companies are connected globally through call centers and business process outsourcing. These international systems may be operated in countries which have not upgraded Telco infrastructure and so are vulnerable to Blue boxing. Blue boxing is a result of failure on the part of the system to enforce strong authorization for administrative functions. While the infrastructure is different than standard current applications like web applications, there are historical lessons to be learned to upgrade the access control for administrative functions.
  • Restful Privilege Elevation
    Rest uses standard HTTP (Get, Put, Delete) style permissions methods, but these are not necessarily correlated generally with back end programs. Strict interpretation of HTTP get methods means that these HTTP Get services should not be used to delete information on the server, but there is no access control mechanism to back up this logic. This means that unless the services are properly ACL'd and the application's service implementation are following these guidelines then an HTTP request can easily execute a delete or update on the server side. The attacker identifies a HTTP Get URL such as http://victimsite/updateOrder, which calls out to a program to update orders on a database or other resource. The URL is not idempotent so the request can be submitted multiple times by the attacker, additionally, the attacker may be able to exploit the URL published as a Get method that actually performs updates (instead of merely retrieving data). This may result in malicious or inadvertent altering of data on the server.
  • Target Programs with Elevated Privileges
    This attack targets programs running with elevated privileges. The attacker would try to leverage a bug in the running program and get arbitrary code to execute with elevated privileges. For instance an attacker would look for programs that write to the system directories or registry keys (such as HKLM, which stores a number of critical Windows environment variables). These programs are typically running with elevated privileges and have usually not been designed with security in mind. Such programs are excellent exploit targets because they yield lots of power when they break. The malicious user try to execute its code at the same level as a privileged system call.
  • Manipulating Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
Access
VectorComplexityAuthentication
NETWORK LOW SINGLE_INSTANCE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
nessus via4
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-698-2.NASL
    description It was discovered that Nagios was vulnerable to a Cross-site request forgery (CSRF) vulnerability. If an authenticated nagios user were tricked into clicking a link on a specially crafted web page, an attacker could trigger commands to be processed by Nagios and execute arbitrary programs. This update alters Nagios behaviour by disabling submission of CMD_CHANGE commands. (CVE-2008-5028) It was discovered that Nagios did not properly parse commands submitted using the web interface. An authenticated user could use a custom form or a browser addon to bypass security restrictions and submit unauthorized commands. (CVE-2008-5027). 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.
    last seen 2019-02-21
    modified 2018-11-23
    plugin id 37447
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=37447
    title Ubuntu 8.10 : nagios3 vulnerabilities (USN-698-2)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2008-10323.NASL
    description Upstream has released a new version: * Security fix for Cross Site Request Forgery (CSRF) bug reported by Tim Starling. * Sample audio files for CGIs removed from distribution * Fix for mutliline config file continuation bug * Minor fix to RPM spec file * Fix for AIX compiler warnings * Minor sample config file fix * Added documentation on CGI security issues Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2015-10-21
    plugin id 37222
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=37222
    title Fedora 10 : nagios-3.0.5-1.fc10 (2008-10323)
  • NASL family Gentoo Local Security Checks
    NASL id GENTOO_GLSA-200907-15.NASL
    description The remote host is affected by the vulnerability described in GLSA-200907-15 (Nagios: Execution of arbitrary code) Multiple vulnerabilities have been reported in Nagios: Paul reported that statuswml.cgi does not properly sanitize shell metacharacters in the (1) ping and (2) traceroute parameters (CVE-2009-2288). Nagios does not properly verify whether an authenticated user is authorized to run certain commands (CVE-2008-5027). Andreas Ericsson reported that Nagios does not perform validity checks to verify HTTP requests, leading to Cross-Site Request Forgery (CVE-2008-5028). An unspecified vulnerability in Nagios related to CGI programs, 'adaptive external commands,' and 'writing newlines and submitting service comments' has been reported (CVE-2008-6373). Impact : A remote authenticated or unauthenticated attacker may exploit these vulnerabilities to execute arbitrary commands or elevate privileges. Workaround : There is no known workaround at this time.
    last seen 2019-02-21
    modified 2019-02-07
    plugin id 39869
    published 2009-07-20
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=39869
    title GLSA-200907-15 : Nagios: Execution of arbitrary code
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_1_NAGIOS-090217.NASL
    description A CSRF bug in nagios' cmd.cgi (CVE-2008-5028) has been fixed as well as an authentication bypass (CVE-2008-5027).
    last seen 2019-02-21
    modified 2016-12-21
    plugin id 40281
    published 2009-07-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=40281
    title openSUSE Security Update : nagios (nagios-531)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-698-1.NASL
    description It was discovered that Nagios did not properly parse commands submitted using the web interface. An authenticated user could use a custom form or a browser addon to bypass security restrictions and submit unauthorized commands. 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.
    last seen 2019-02-21
    modified 2018-11-23
    plugin id 36674
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=36674
    title Ubuntu 6.06 LTS : nagios vulnerability (USN-698-1)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_D4A358D3E09A11DDA7650030843D3802.NASL
    description securityfocus reports : An attacker with low-level privileges may exploit this issue to bypass authorization and cause arbitrary commands to run within the context of the Nagios server. This may aid in further attacks.
    last seen 2019-02-21
    modified 2018-12-19
    plugin id 35344
    published 2009-01-12
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=35344
    title FreeBSD : nagios -- web interface privilege escalation vulnerability (d4a358d3-e09a-11dd-a765-0030843d3802)
  • NASL family Ubuntu Local Security Checks
    NASL id UBUNTU_USN-698-3.NASL
    description It was discovered that Nagios was vulnerable to a Cross-site request forgery (CSRF) vulnerability. If an authenticated nagios user were tricked into clicking a link on a specially crafted web page, an attacker could trigger commands to be processed by Nagios and execute arbitrary programs. This update alters Nagios behaviour by disabling submission of CMD_CHANGE commands. (CVE-2008-5028) It was discovered that Nagios did not properly parse commands submitted using the web interface. An authenticated user could use a custom form or a browser addon to bypass security restrictions and submit unauthorized commands. (CVE-2008-5027). 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.
    last seen 2019-02-21
    modified 2018-11-28
    plugin id 37968
    published 2009-04-23
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=37968
    title Ubuntu 8.04 LTS : nagios2 vulnerabilities (USN-698-3)
  • NASL family SuSE Local Security Checks
    NASL id SUSE_11_0_NAGIOS-090217.NASL
    description A CSRF bug in nagios' cmd.cgi (CVE-2008-5028) has been fixed as well as an authentication bypass (CVE-2008-5027).
    last seen 2019-02-21
    modified 2016-12-21
    plugin id 40077
    published 2009-07-21
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=40077
    title openSUSE Security Update : nagios (nagios-531)
refmap via4
bid 32156
confirm http://www.op5.com/support/news/389-important-security-fix-available-for-op5-monitor
gentoo GLSA-200907-15
hp
  • HPSBMA02419
  • SSRT090060
misc http://www.nagios.org/development/history/nagios-3x.php
mlist
  • [nagios-devel] 20081107 Security fixes completed
  • [oss-security] 20081106 CVE request: Nagios (two issues)
sectrack 1022165
secunia
  • 33320
  • 35002
ubuntu
  • USN-698-1
  • USN-698-3
vupen
  • ADV-2008-3029
  • ADV-2008-3364
  • ADV-2009-1256
Last major update 07-12-2016 - 22:01
Published 10-11-2008 - 10:23
Back to Top