🔍 CVE-2006-3016

9.3
CVSS Score
HIGH
2006-06-14
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

PHP 5.1.3 이전 버전의 session.c에서 세션 이름에 특정 문자를 입력하면 CRLF injection, SQL injection, XSS, HTTP response splitting 등의 공격이 가능한 취약점. 세션 이름이 영숫자만 허용해야 한다는 기대와 규칙을 위반하여 발생.

💡 쉬운 설명

PHP 웹서버의 세션 기능에서 특수문자를 포함한 세션명을 입력하면 공격자가 서버를 조종할 수 있는 취약점입니다. PHP 5.1.3 이전 버전을 사용 중이라면 즉시 업그레이드가 필요합니다.

🇺🇸 원문 (English)

Unspecified vulnerability in session.c in PHP before 5.1.3 has unknown impact and attack vectors, related to "certain characters in session names," including special characters that are frequently associated with CRLF injection, SQL injection, cross-site scripting (XSS), and HTTP response splitting vulnerabilities. NOTE: while the nature of the vulnerability is unspecified, it is likely that this is related to a violation of an expectation by PHP applications that the session name is alphanumeric, as implied in the PHP manual for session_name().

📍 영향받는 시스템

PHP 5.1.3 이전 모든 버전 (특히 5.0.x, 5.1.0-5.1.2)

⚔️ 공격 벡터

특수문자를 포함한 세션명을 전송하여 CRLF/SQL/XSS/HTTP response splitting 공격 실행

🛡️ 대응 방법

PHP 5.1.3 이상으로 업그레이드하거나 세션명 입력값에 대한 영숫자 유효성 검사 구현

🔧 검증 코드

PHP 버전이 5.1.3 이상이면 취약점이 패치된 상태이고, 5.1.3 미만이면 즉시 패치 필요

Shell / Script
php -v | grep -oP '\d+\.\d+\.\d+' | head -1

📊 CVSS Vector String

CVSS Vector
AV:N/AC:M/Au:N/C:C/I:C/A:C

💻 영향받는 소프트웨어

PHP