Nagios XI 5.6.6 이전 버전에서는 root 권한으로 원격 명령을 실행할 수 있습니다. 악용하려면 nagios 사용자로 서버에 접근하거나 웹 인터페이스를 통해 admin 사용자로 접근해야 합니다. 시스템 프로필(profile.php?cmd=download)을 다운로드할 때 호출되는 getprofile.sh 스크립트는 암호가 필요 없는 sudo 항목을 통해 root 권한으로 실행되며, 이 스크립트는 nagios 사용자가 소유한 check_plugin을 실행합니다. 플러그인을 수정할 권한으로 Nagios XI에 로그인한 사용자 또는 서버의 nagios 사용자는 check_plugin 실행 파일을 수정하고 악성 명령을 삽입하여 root 권한으로 실행할 수 있습니다.
Nagios XI 5.6.6 이전 버전에서는 root 권한으로 원격 명령을 실행할 수 있습니다. 악용하려면 nagios 사용자로 서버에 접근하거나 웹 인터페이스를 통해 admin 사용자로 접근해야 합니다. 시스템 프로필(profile.php?cmd=download)을 다운로드할 때 호출되는 getprofile.sh 스크립트는 암호가 필요 없는 sudo 항목을 통해 root 권한으로 실행되며, 이 스크립트는 nagios 사용자가 소유한 check_plugin을 실행합니다. 플러그인을 수정할 권한으로 Nagios XI에 로그인한 사용자 또는 서버의 nagios 사용자는 check_plugin 실행 파일을 수정하고 악성 명령을 삽입하여 root 권한으로 실행할 수 있습니다.
한국어 설명은 영문 원문을 기준으로 제공됩니다. 제품명·버전·보안 식별자는 아래 원문과 함께 확인할 수 있습니다.
영문 원문 보기
Nagios XI before 5.6.6 allows remote command execution as root. The exploit requires access to the server as the nagios user, or access as the admin user via the web interface. The getprofile.sh script, invoked by downloading a system profile (profile.php?cmd=download), is executed as root via a passwordless sudo entry; the script executes check_plugin, which is owned by the nagios user. A user logged into Nagios XI with permissions to modify plugins, or the nagios user on the server, can modify the check_plugin executable and insert malicious commands to execute as root.