🇰🇷 한글 설명
OpenPrinting CUPS 2.4.16 및 이전 버전에서 네트워크에 노출된 cupsd가 인증되지 않은 클라이언트의 인쇄 요청을 허용하는 취약점이 발견되었습니다. 공격자는 특수하게 조작된 page-border 값을 사용하여 서버의 제어 레코드를 재파싱하게 함으로써, lp 권한으로 임의의 바이너리를 실행할 수 있습니다.
💡 쉬운 설명
인터넷에 연결된 프린터 시스템의 허점을 이용해 인증 없이 명령을 내릴 수 있는 보안 결함입니다. 해커가 이 취약점을 이용하면 컴퓨터에 저장된 특정 프로그램을 마음대로 실행할 수 있습니다.
🇺🇸 원문 (English)
OpenPrinting CUPS is an open source printing system for Linux and other Unix-like operating systems. In versions 2.4.16 and prior, in a network-exposed cupsd with a shared target queue, an unauthorized client can send a Print-Job to that shared PostScript queue without authentication. The server accepts a page-border value supplied as textWithoutLanguage, preserves an embedded newline through option escaping and reparse, and then reparses the resulting second-line PPD: text as a trusted scheduler control record. A follow-up raw print job can therefore make the server execute an attacker-chosen existing binary such as /usr/bin/vim as lp. At time of publication, there are no publicly available patches.
📍 영향받는 시스템
OpenPrinting CUPS 2.4.16 및 그 이전 모든 버전
⚔️ 공격 벡터
네트워크를 통해 인증 없이 조작된 PostScript 인쇄 작업을 전송하여 서버의 제어 로직을 악용
🛡️ 대응 방법
공식 보안 패치가 출시될 때까지 네트워크 노출 cupsd 설정을 제한하거나 접근 제어를 강화하십시오.
🔧 검증 코드
출력된 CUPS 버전을 확인하여 2.4.16 이하인지 확인하십시오.
lpstat -v 2>/dev/null && cupsversion 2>/dev/null || echo 'CUPS not installed or command not found'