🇰🇷 한글 설명
PCP의 기본 pmproxy 설정이 Redis 서버를 로컬 네트워크에 노출시키는 취약점입니다. 이를 통해 Redis 사용자 권한으로 원격 명령 실행이 가능하며, pmproxy 서비스가 실행 중일 때만 악용될 수 있습니다.
💡 쉬운 설명
PCP 시스템의 데이터베이스가 실수로 인터넷에 노출되어 누구나 접근할 수 있습니다. 공격자가 이를 이용해 시스템에서 명령을 실행할 수 있습니다.
🇺🇸 원문 (English)
A flaw was found in PCP. The default pmproxy configuration exposes the Redis server backend to the local network, allowing remote command execution with the privileges of the Redis user. This issue can only be exploited when pmproxy is running. By default, pmproxy is not running and needs to be started manually. The pmproxy service is usually started from the 'Metrics settings' page of the Cockpit web interface. This flaw affects PCP versions 4.3.4 and newer.
📍 영향받는 시스템
PCP (Performance Co-Pilot) 4.3.4 이상 버전
⚔️ 공격 벡터
로컬 네트워크에서 노출된 pmproxy의 Redis 포트(6379)에 접근하여 원격 명령 실행
🛡️ 대응 방법
pmproxy 서비스를 비활성화하거나 PCP를 최신 패치 버전으로 업데이트
🔧 검증 코드
설치된 PCP 버전이 4.3.4 이상이면 영향받습니다. 버전이 표시되면 업데이트 필요 여부를 확인하세요.
pcp --version 2>/dev/null || dpkg -l pcp 2>/dev/null | grep pcp