Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Path: blob/master/documentation/modules/exploit/linux/http/centreon_useralias_exec.md
Views: 11789
Vulnerable Application
Archived Copy: github
Creating A Testing Environment
Creating a testing environment for this application contained many steps, so I figured I would document the process here.
Create a fresh install of Ubuntu 16.04. I used a LAMP install. My user was
centreon
Install php5.6 askubuntu
Enable php5.6 in Apache with
a2enmod
, disable php7.0 witha2dismod
Restart apache with
sudo apache2ctl restart
Install Nagios Plugins starting at step 6. The plugins link is broken, utilize nagios-plugins-2.1.1.tar.gz instead
5.1 If during make, you get an sslv3 method not found error (https://support.nagios.com/forum/viewtopic.php?f=35&t=36601&p=168235&hilit=SSLv3#p168235)
Install Centreon clib
Install Centreon Broker
Install Centreon Engine
Now install Centreon Web but only the command line portion.
Fix apache config
Configure via website. Browse to [removed]/centreon
Verification Steps
Install the application
Start msfconsole
Do:
use exploit/linux/http/centreon_useralias_exec
Do:
set payload
Do:
set rhost
Do:
check
Do:
run
You should get a shell.
Scenarios
Just a standard run.