🇰🇷 한글 설명
Apache HTTP Server의 mod_php 모듈에서 PHP 스크립트에 쓰기 접근권한을 가진 로컬 사용자가 서버 프로세스 그룹에 신호를 보낼 수 있는 취약점입니다. STOP 신호를 전송하여 들어오는 연결을 가로챌 수 있으며, 서버의 파일 디스크립터에도 접근 가능합니다.
💡 쉬운 설명
Apache에서 PHP를 실행할 때, 로컬 사용자가 PHP 파일을 조작하여 서버 프로세스를 일시 중단시킬 수 있습니다. 이를 통해 서버의 네트워크 연결을 가로채고 악의적으로 이용할 수 있습니다.
🇺🇸 원문 (English)
The mod_php module for the Apache HTTP Server allows local users with write access to PHP scripts to send signals to the server's process group and use the server's file descriptors, as demonstrated by sending a STOP signal, then intercepting incoming connections on the server's TCP port. NOTE: the PHP developer has disputed this vulnerability, saying "The opened file descriptors are opened by Apache. It is the job of Apache to protect them ... Not a bug in PHP.
📍 영향받는 시스템
Apache HTTP Server with mod_php (2.0.x, 1.3.x 등 PHP 모듈 사용하는 모든 버전)
⚔️ 공격 벡터
로컬 공격자가 PHP 스크립트 작성 권한으로 신호 전송 및 프로세스 조작을 통한 서비스 중단 및 연결 탈취
🛡️ 대응 방법
Apache 및 PHP를 최신 보안 패치 버전으로 업그레이드하고, 신뢰할 수 없는 사용자의 PHP 스크립트 작성 권한 제한
🔧 검증 코드
Apache와 PHP 버전 정보가 출력되면 보안 공지사항에서 해당 버전의 패치 여부 확인하여 취약성 존재 여부 판단
apache2ctl -v 2>/dev/null | grep 'Server version' && php -v 2>/dev/null | head -1