🔍 CVE-2026-33765

9.8
CVSS Score
CRITICAL
2026-03-27
2026-06-17 10:38
✅ 완료

🇰🇷 한글 설명

Pi-hole 관리 인터페이스의 savesettings.php 파일에서 심각한 OS 커맨드 인젝션 취약점이 발견되었습니다. 공격자는 webtheme 파라미터에 악의적인 명령어를 삽입하여 루트 권한으로 시스템 명령을 실행할 수 있습니다. 이 문제는 버전 6.0에서 수정되었습니다.

💡 쉬운 설명

웹 설정 페이지의 입력창을 통해 서버의 제어권을 완전히 뺏을 수 있는 위험한 보안 구멍입니다. 해커가 내 네트워크 관리 도구를 이용해 시스템 전체를 조작할 수 있습니다.

🇺🇸 원문 (English)

Pi-hole Admin Interface is a web interface for managing Pi-hole, a network-level ad and internet tracker blocking application. Versions prior to 6.0 have a critical OS Command Injection vulnerability in the savesettings.php file. The application takes the user-controlled $_POST['webtheme'] parameter and concatenates it directly into a system command executed via PHP's exec() function. Since the input is neither sanitized nor validated before being passed to the shell, an attacker can append arbitrary system commands to the intended pihole command. Furthermore, because the command is executed with sudo privileges, the injected commands will run with elevated (likely root) privileges. Version 6.0 patches the issue.

📍 영향받는 시스템

Pi-hole 버전 6.0 미만

⚔️ 공격 벡터

savesettings.php 파일의 webtheme POST 파라미터를 통한 임의 시스템 명령어 주입

🛡️ 대응 방법

Pi-hole을 버전 6.0 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 실행 결과에 버전 번호가 출력되면 6.0 미만 버전이 설치된 것이므로 취약한 상태입니다.

Shell / Script
pihole -v | grep -E 'Pi-hole v[0-5]\.'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP