🇰🇷 한글 설명
PHP의 XMLRPC 확장 프로그램에 있는 date_from_ISO8601 함수의 버퍼 오버플로우 취약점입니다. xmlrpc_set_type() 또는 xmlrpc_decode() 함수로 조작된 인자를 전달할 때 범위를 벗어난 메모리 읽기가 발생하여 애플리케이션 충돌을 초래합니다.
💡 쉬운 설명
PHP 서버가 인터넷에서 받은 특수한 요청의 날짜 정보를 처리할 때 허용된 메모리 범위를 초과하는 문제입니다. 공격자가 조작된 요청을 보내면 서버가 갑자기 중단될 수 있습니다.
🇺🇸 원문 (English)
Buffer overflow in the date_from_ISO8601 function in the mkgmtime implementation in libxmlrpc/xmlrpc.c in the XMLRPC extension in PHP before 5.4.34, 5.5.x before 5.5.18, and 5.6.x before 5.6.2 allows remote attackers to cause a denial of service (application crash) via (1) a crafted first argument to the xmlrpc_set_type function or (2) a crafted argument to the xmlrpc_decode function, related to an out-of-bounds read operation.
📍 영향받는 시스템
PHP 5.4 (5.4.34 미만), PHP 5.5 (5.5.0~5.5.17), PHP 5.6 (5.6.0~5.6.1) - XMLRPC 확장 활성화 시
⚔️ 공격 벡터
원격 공격자가 xmlrpc_set_type() 또는 xmlrpc_decode() 함수에 특수 제작된 인자를 전달하여 서비스 거부 유발
🛡️ 대응 방법
PHP를 5.4.34 이상, 5.5.18 이상, 5.6.2 이상으로 즉시 업그레이드하거나 XMLRPC 확장 비활성화
🔧 검증 코드
XMLRPC 모듈이 로드되어 있고 PHP 버전이 5.4.34 미만, 5.5.18 미만, 또는 5.6.2 미만이면 취약함
php -m 2>/dev/null | grep -i xmlrpc && php -v 2>/dev/null | grep -oE 'PHP [0-9]+\.[0-9]+\.[0-9]+'