🔍 CVE-2015-6968

6.5
CVSS Score
MEDIUM
2015-09-16
2026-05-06 22:30
✅ 완료

🇰🇷 한글 설명

Serendipity 2.0.2 이전 버전의 파일 업로드 필터에서 .pht, .phtml 확장자를 제대로 차단하지 못하는 불완전한 블랙리스트 취약점입니다. 인증된 사용자가 이 확장자로 PHP 파일을 업로드하여 서버에서 PHP 코드를 실행할 수 있습니다.

💡 쉬운 설명

웹사이트 관리자가 악의적으로 특정 파일 형식을 업로드해서 서버를 해킹할 수 있는 문제입니다. 관리자 권한이 필요하지만 검증 방식이 약해서 .phtml 등의 파일로 우회할 수 있습니다.

🇺🇸 원문 (English)

Multiple incomplete blacklist vulnerabilities in the serendipity_isActiveFile function in include/functions_images.inc.php in Serendipity before 2.0.2 allow remote authenticated users to execute arbitrary PHP code by uploading a file with a (1) .pht or (2) .phtml extension.

📍 영향받는 시스템

Serendipity < 2.0.2

⚔️ 공격 벡터

.pht 또는 .phtml 확장자로 PHP 코드를 포함한 파일을 업로드하여 서버에서 실행

🛡️ 대응 방법

Serendipity를 2.0.2 이상으로 업그레이드하거나 웹서버 설정에서 .pht, .phtml 확장자 실행 금지

🔧 검증 코드

함수 정의가 발견되면 영향받는 버전이 설치된 상태입니다. 버전 확인은 /path/to/serendipity/include/version.inc.php에서 $serendipity['version']을 확인하면 2.0.2 미만인지 판단 가능합니다.

Shell / Script
grep -r 'serendipity_isActiveFile' /path/to/serendipity/include/functions_images.inc.php 2>/dev/null | head -1

📊 CVSS Vector String

CVSS Vector
AV:N/AC:L/Au:S/C:P/I:P/A:P

💻 영향받는 소프트웨어

PHP