🔍 CVE-2026-50130

8.8
CVSS Score
HIGH
2026-07-14
2026-07-30 14:31
✅ 완료

🇰🇷 한글 설명

Pi-hole 6.0부터 6.4.2 버전에서 권한이 낮은 pihole 사용자가 /etc/pihole/logrotate 파일을 교체하여 루트(root) 권한을 획득할 수 있는 취약점이 발견되었습니다. pihole-FTL-prestart.sh 스크립트가 교체된 파일의 소유권을 root로 변경하고, 이후 cron 작업이 이를 루트 권한으로 실행하면서 임의의 코드가 실행될 수 있습니다.

💡 쉬운 설명

Pi-hole 프로그램의 보안 허점을 이용해 일반 사용자가 컴퓨터의 최고 관리자 권한을 몰래 뺏을 수 있는 문제입니다. 공격자가 시스템의 핵심 설정 파일을 조작하여 관리자처럼 행동할 수 있게 됩니다.

🇺🇸 원문 (English)

Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing any client-side software. From 6.0 to 6.4.2, a user with code execution as the unprivileged pihole user can escalate to root by replacing /etc/pihole/logrotate. The replacement is laundered to root:root ownership by pihole-FTL-prestart.sh and then parsed as root by the daily pihole flush cron, executing firstaction shell as uid 0. This issue is fixed in version 6.4.3.

📍 영향받는 시스템

Pi-hole 버전 6.0 ~ 6.4.2

⚔️ 공격 벡터

권한이 낮은 사용자가 /etc/pihole/logrotate 파일을 악성 파일로 교체하여 루트 권한 탈취

🛡️ 대응 방법

Pi-hole을 최신 보안 패치가 적용된 버전 6.4.3 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 Pi-hole 버전을 확인하여 6.4.3 미만인 경우 취약한 상태입니다.

Shell / Script
pihole -v 2>/dev/null || grep -E 'pihole' /var/log/dpkg.log 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Storage Protect Client