🇰🇷 한글 설명
PHP 5.1.3-RC1 이전 버전의 html_entity_decode 함수에서 발생하는 취약점으로, 공격자가 조작된 이진 데이터를 전송하여 서버 메모리의 일부 내용을 획득할 수 있습니다. 이는 메모리 누수가 아닌, 메모리 내부 정보가 외부에 노출되는 정보 유출 취약점입니다.
💡 쉬운 설명
특수한 데이터를 입력하면 서버의 메모리에 들어있는 민감한 정보가 밖으로 흘러나올 수 있는 문제입니다. 마치 금고의 틈새로 내부의 서류가 보이는 것과 비슷합니다.
🇺🇸 원문 (English)
PHP before 5.1.3-RC1 might allow remote attackers to obtain portions of memory via crafted binary data sent to a script that processes user input in the html_entity_decode function and sends the encoded results back to the client, aka a "binary safety" issue. NOTE: this issue has been referred to as a "memory leak," but it is an information leak that discloses memory contents.
📍 영향받는 시스템
PHP 5.1.3-RC1 미만 버전
⚔️ 공격 벡터
html_entity_decode 함수를 사용하는 스크립트에 조작된 이진 데이터를 전송하여 메모리 정보 탈취
🛡️ 대응 방법
PHP를 5.1.3-RC1 또는 그 이상의 최신 버전으로 업데이트
🔧 검증 코드
출력된 PHP 버전이 5.1.3-RC1보다 낮은 버전일 경우 취약합니다.