🇰🇷 한글 설명
PHP의 SoapClient 구현에서 타입 혼동(type confusion) 취약점이 존재하여 공격자가 예상치 못한 데이터 타입을 전송하여 애플리케이션 충돌이나 임의 코드 실행을 유발할 수 있습니다. 영향받는 버전은 PHP 5.4.40 이전, 5.5.24 이전, 5.6.8 이전입니다.
💡 쉬운 설명
PHP의 SOAP 통신 기능이 잘못된 데이터 형식을 제대로 처리하지 못해서 서버가 crash되거나 해킹될 수 있습니다. PHP 5.4, 5.5, 5.6 초기 버전들을 사용하는 서버가 위험합니다.
🇺🇸 원문 (English)
The SoapClient implementation in PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 allows remote attackers to cause a denial of service (application crash) or possibly execute arbitrary code via an unexpected data type, related to "type confusion" issues in the (1) SoapClient::__getLastRequest, (2) SoapClient::__getLastResponse, (3) SoapClient::__getLastRequestHeaders, (4) SoapClient::__getLastResponseHeaders, (5) SoapClient::__getCookies, and (6) SoapClient::__setCookie methods.
📍 영향받는 시스템
PHP 5.4.x < 5.4.40, 5.5.x < 5.5.24, 5.6.x < 5.6.8
⚔️ 공격 벡터
Remote attacker sends unexpected data types to SoapClient methods (__getLastRequest, __getLastResponse, __getLastRequestHeaders, __getLastResponseHeaders, __getCookies, __setCookie) causing type confusion and triggering DoS or RCE
🛡️ 대응 방법
Upgrade PHP to version 5.4.40, 5.5.24, 5.6.8 or later patches
🔧 검증 코드
Extract PHP version; if version is earlier than 5.4.40, 5.5.24, or 5.6.8, system is vulnerable and requires immediate patching
php -v 2>/dev/null | grep -oE 'PHP [0-9]+\.[0-9]+\.[0-9]+'