🇰🇷 한글 설명
Nagios Log Server 2026R1.0.1 미만 버전에서 sudo 설정 오류와 그룹 쓰기 권한이 있는 디렉토리가 결합되어 로컬 권한 상승 취약점이 발생합니다. 'www-data' 사용자가 'nagios' 그룹의 권한을 이용해 루트 권한으로 실행되는 스크립트를 변조함으로써 운영체제 전체의 제어권을 획득할 수 있습니다.
💡 쉬운 설명
웹 서버 권한을 가진 공격자가 특정 폴더에 파일을 마음대로 바꿀 수 있는 허점을 이용해 관리자 권한을 뺏는 문제입니다. 원래 실행되어야 할 관리자용 프로그램을 공격자가 만든 가짜 프로그램으로 바꿔치기하여 시스템을 장악합니다.
🇺🇸 원문 (English)
Nagios Log Server versions prior to 2026R1.0.1 are vulnerable to local privilege escalation due to a combination of sudo misconfiguration and group-writable application directories. The 'www-data' user is a member of the 'nagios' group, which has write access to '/usr/local/nagioslogserver/scripts', while several scripts in this directory are owned by root and may be executed via sudo without a password. A local attacker running as 'www-data' can move one of these root-owned scripts to a backup name and create a replacement script with attacker-controlled content at the original path, then invoke it with sudo. This allows arbitrary commands to be executed with root privileges, providing full compromise of the underlying operating system.
📍 영향받는 시스템
Nagios Log Server versions prior to 2026R1.0.1
⚔️ 공격 벡터
로컬 권한 상승 (Local Privilege Escalation)
🛡️ 대응 방법
Nagios Log Server를 2026R1.0.1 이상 버전으로 업데이트하고 sudo 설정 및 디렉토리 권한을 재검토하십시오.
🔧 검증 코드
설치된 Nagios Log Server의 버전을 확인하여 2026R1.0.1 미만인지 체크합니다.
rpm -q nagioslogserver || dpkg -l | grep nagioslogserver