🇰🇷 한글 설명
PHP 5.2.1 이전 버전의 세션, ZIP, IMAP, SQLite 확장과 여러 내장 함수에서 버퍼 오버플로우 취약점이 발견되었습니다. 공격자가 악의적인 입력을 통해 서비스 거부를 유발하거나 임의 코드를 실행할 수 있습니다.
💡 쉬운 설명
PHP 프로그램의 메모리 보호 장치에 구멍이 있어 악의적 데이터로 프로그램을 충돌시키거나 조종할 수 있습니다. 즉시 PHP를 업데이트하지 않으면 웹사이트가 해킹될 위험이 있습니다.
🇺🇸 원문 (English)
Multiple buffer overflows in PHP before 5.2.1 allow attackers to cause a denial of service and possibly execute arbitrary code via unspecified vectors in the (1) session, (2) zip, (3) imap, and (4) sqlite extensions; (5) stream filters; and the (6) str_replace, (7) mail, (8) ibase_delete_user, (9) ibase_add_user, and (10) ibase_modify_user functions. NOTE: vector 6 might actually be an integer overflow (CVE-2007-1885). NOTE: as of 20070411, vector (3) might involve the imap_mail_compose function (CVE-2007-1825).
📍 영향받는 시스템
PHP 5.0.0 ~ 5.2.0 (5.2.1 미만의 모든 버전)
⚔️ 공격 벡터
세션 처리, ZIP 파일 처리, IMAP 메일 함수, SQLite 데이터베이스, str_replace, mail 함수 등을 통한 악의적 입력
🛡️ 대응 방법
PHP를 5.2.1 이상으로 업그레이드하고 웹서버 재시작
🔧 검증 코드
VULNERABLE이 표시되면 즉시 업데이트 필요, SAFE이면 패치된 버전입니다.
php -v 2>/dev/null | head -1 | grep -oE '[0-9]\.[0-9]\.[0-9]' | awk -F. '{if($1<5||($1==5&&$2<2)||($1==5&&$2==2&&$3<1))print "VULNERABLE";else print "SAFE"}'