Privilege escalation vulnerabilities in Nagios XI installer

简介:  ================Privilege escalation vulnerabilities in Nagios XI installer < 2011R1.
 
================
Privilege escalation vulnerabilities in Nagios XI installer < 2011R1.9

Author: 0a29406d9794e4f9b30b3c5d6702c708

twitter.com/0a29 - 0a29.blogspot.com - GMail 0a2940
================
Description:
================

Multiple privilege escalations exist within Nagios XI installer.

Tested against 2011R1.8, dated October 28, 2011. Fixes detailed in
http://assets.nagios.com/downloads/nagiosxi/CHANGES-2011.TXT (2011R1.9
- 12/07/2011)

================
Details:
================

Vulnerability 1: Arbitrary RPM installation
-----
Files:
	0-yum
	1-prereqs

In certain situations files matching /tmp/epel-release*.rpm ,
/tmp/rpmforge-release*.rpm
 and /tmp/php-pear-HTML-Template-IT*.rpm will be installed.

e.g. from 0-yum:

if ! rpm -q epel-release &>/dev/null; then
        <snip>
                cd /tmp
        <snip>
		rpm -Uvh epel-release*.rpm
-----

Vulnerability 2: Arbitrary crontab intallation
-----
Files:
	install-crontab-root
	install-crontab-nagios
	uninstall-crontab-nagios

A malicious user can exploit a race condition to control the root and
nagios user's
crontab. By creating the temporary file in advance (to control
permissions) an attacker
can insert entries before it is used to update the crontab.

e.g. from install-crontab-root:
---
#!/bin/sh

crontab -l -u root | grep -v "/usr/local/nagiosxi/" > /tmp/root.crontab.new
cat nagiosxi/crontab.root >> /tmp/root.crontab.new

crontab -u root /tmp/root.crontab.new

rm -f /tmp/root.crontab.new
目录
相关文章
glance was not installed properly
A number of periodic processes run on the OpenStack Image service to support caching
752 0
|
数据库
CVE-2014-6283: Privilege Escalation Vulnerability and Potential Remote Code Execution in SAP Adaptiv
On May 12, 2014, SAP published updates to Adaptive Server Enterprise versions 15.
800 0
Zimbra 0day exploit / Privilegie escalation via LFI
# Exploit Title: Zimbra 0day exploit / Privilegie escalation via LFI # Date: 06 Dec 2013 # E...
1363 0
|
Web App开发 PHP Apache
Apache suEXEC Privilege Elevation / Information Disclosure
Apache suEXEC privilege elevation / information disclosure   Discovered by Kingcope/Aug 2013  ...
932 0
|
Shell Apache Linux
Kloxo 6.1.6 - Local Privilege Escalation
#!/bin/sh # Exploit Title: Kloxo Local Privilege Escalation # Google Dork: inurl:kiddie...
971 0
|
安全
Vulnerability Assessment - Information Assurance Tools Report
This Report focuses on vulnerability assessment tools, which this Report defines as: automated ...
813 0
|
PHP
Joomla! 1.6/1.7/2.5 Privilege Escalation Vulnerability
http://www.wooyun.org/bugs/wooyun-2010-05526 Joomla! 1.
1107 0