🔍 CVE-2023-53933

8.8
CVSS Score
HIGH
2025-12-17
2025-12-18 19:16
✅ 완료

🇰🇷 한글 설명

Serendipity 2.4.0에서 발생하는 원격 코드 실행 취약점으로 인증된 공격자가 .phar 확장자의 악성 PHP 파일을 업로드할 수 있으며, 시스템 명령어 페이로드가 포함된 파일을 미디어 업로드 엔드포인트에 업로드하여 서버에서 임의의 명령어를 실행할 수 있습니다.

💡 쉬운 설명

Serendipity 2.4.0에는 원격 코드 실행 취약점이 있습니다. 공격자는 시스템에 악성 PHP 파일을 업로드하여 서버를 제어할 수 있습니다. 이는 인증된 사용자만이 공격을 할 수 있습니다.

🇺🇸 원문 (English)

Serendipity 2.4.0 contains a remote code execution vulnerability that allows authenticated attackers to upload malicious PHP files with .phar extension. Attackers can upload files with system command payloads to the media upload endpoint and execute arbitrary commands on the server.

📍 영향받는 시스템

Serendipity 2.4.0

⚔️ 공격 벡터

인증된 공격자가 .phar 확장자의 악성 PHP 파일을 미디어 업로드 엔드포인트에 업로드하여 시스템 명령어를 실행

🛡️ 대응 방법

최신 버전의 Serendipity를 업데이트하거나, 업로드 파일의 확장자와 내용을 검사하여 악성 파일을 차단합니다.

🔧 검증 코드

로컬 PC에서 Python을 실행하여 Serendipity 버전을 확인합니다. 예제 URL(https://example.com/serendipity)을 실제 Serendipity 설치 URL로 변경합니다. Python 3.x 이상이 설치되어 있어야 하며, requests 라이브러리가 필요합니다.

Shell / Script
python -c "import requests; response = requests.get('https://example.com/serendipity'); if 'Serendipity 2.4.0' in response.text: print('{"result": "취약", "reason": "Serendipity 2.4.0 버전 확인"}'); else: print('{"result": "양호", "reason": "최신 버전 확인"}')"

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

PHP