🇰🇷 한글 설명
PHP 5.2-5.3 버전의 trim, ltrim, rtrim, substr_replace 함수에서 userspace 인터럽션을 통해 내부 함수 실행이 중단될 때 메모리 내용이 노출되는 정보 공개 취약점입니다. call-time pass by reference 기능과 연관되어 있습니다.
💡 쉬운 설명
PHP의 특정 함수들이 실행 중 방해받으면 컴퓨터 메모리에 있던 민감한 정보가 유출될 수 있습니다. 이는 PHP 5.2와 5.3 초기 버전에만 영향을 미칩니다.
🇺🇸 원문 (English)
The (1) trim, (2) ltrim, (3) rtrim, and (4) substr_replace functions in PHP 5.2 through 5.2.13 and 5.3 through 5.3.2 allow context-dependent attackers to obtain sensitive information (memory contents) by causing a userspace interruption of an internal function, related to the call time pass by reference feature.
📍 영향받는 시스템
PHP 5.2.0-5.2.13, PHP 5.3.0-5.3.2
⚔️ 공격 벡터
trim/ltrim/rtrim/substr_replace 함수 호출 중 userspace 인터럽션 트리거하여 메모리 내용 접근
🛡️ 대응 방법
PHP를 5.2.14 이상 또는 5.3.3 이상으로 업그레이드
🔧 검증 코드
현재 설치된 PHP 버전이 5.2.14 미만 또는 5.3.0-5.3.2 범위에 있으면 취약함. 5.2.14 이상 또는 5.3.3 이상이면 안전함.
php -v | grep -oE 'PHP [0-9]+\.[0-9]+\.[0-9]+'