🇰🇷 한글 설명
Simple PHP Blog (SPHPBlog) 0.4.8 및 0.8 버전의 add_block.php와 index.php 파일에서 입력 값 검증 부족으로 인한 XSS 취약점입니다. 공격자는 action 및 entry 파라미터에 악성 스크립트를 주입하여 사용자 브라우저에서 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
Simple PHP Blog 웹사이트에서 사용자 입력을 제대로 검사하지 않아 해커가 악성 코드를 삽입할 수 있는 문제입니다. 사용자가 조작된 링크를 클릭하면 개인 정보가 도용되거나 계정이 탈취될 수 있습니다.
🇺🇸 원문 (English)
Multiple cross-site scripting (XSS) vulnerabilities in Simple PHP Blog (SPHPBlog), probably 0.4.8, allow remote attackers to inject arbitrary web script or HTML via (1) the action parameter in add_block.php or (2) the entry parameter in index.php, different vectors than CVE-2005-1135. NOTE: this has been reported to affect 0.8, but as of 20061121, the most recent version is only 0.4.9.
📍 영향받는 시스템
Simple PHP Blog (SPHPBlog) 버전 0.4.8, 0.8 (최신 버전: 0.4.9)
⚔️ 공격 벡터
add_block.php의 action 파라미터 또는 index.php의 entry 파라미터에 인코딩되지 않은 HTML/JavaScript를 삽입
🛡️ 대응 방법
SPHPBlog를 0.4.9 이상으로 업그레이드하고 모든 사용자 입력에 대해 htmlspecialchars() 또는 htmlentities() 함수로 인코딩 처리
🔧 검증 코드
SPHPBlog 설치 경로가 표시되면 설치 상태 확인, 파일이 없으면 시스템에 SPHPBlog가 설치되지 않음을 의미합니다.
find /var/www -type f -name 'index.php' -o -name 'add_block.php' 2>/dev/null | xargs grep -l 'SPHPBlog' 2>/dev/null | head -5