Exploit database

Vulnerability

CVE-2020-35578

Vulnerability details

Score
7.2
Severity
high

CVSS 3.1 · NVD

Vector string

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Description

An issue was discovered in the Manage Plugins page in Nagios XI before 5.8.0. Because the line-ending conversion feature is mishandled during a plugin upload, a remote, authenticated admin user can execute operating-system commands.

CVE Program

Exploit source choices

2 sources
Nagios XI Prior to 5.8.0 - Plugins Filename Authenticated Remote Code Exection
MSF-linux--http--nagios_xi_plugins_filename_authenticated_rceMetasploitLinux,Unix / remote

This module exploits a command injection vulnerability (CVE-2020-35578) in the `/admin/monitoringplugins.php` page of Nagios XI versions prior to 5.8.0 when uploading plugins. Successful exploitation allows an authenticated admin user to achieve remote code execution as the `apache` user by uploading a malicious plugin. Valid credentials for a Nagios XI admin user are required. This module has been successfully tested against Nagios versions XI 5.3.0 and 5.7.5, both running on CentOS 7.

2020-12-19nagios_xi_plugins_filename_authenticated_rce.rb