🔍 CVE-2023-53921

9.8
CVSS Score
CRITICAL
2025-12-17
2025-12-18 15:15
✅ 완료

🇰🇷 한글 설명

SitemagicCMS 4.4.3에서 원격 코드 실행 취약점이 발견되었습니다. 이 취약점을 이용하면 공격자가 시스템 명령을 실행할 수 있는 페이로드가 포함된 .phar 파일을 업로드하여 웹 애플리케이션을 손상시키고 임의의 시스템 명령을 실행할 수 있습니다.

💡 쉬운 설명

SitemagicCMS 4.4.3에는 원격 코드 실행 취약점이 있습니다. 공격자는 시스템 명령을 실행할 수 있는 파일을 업로드하여 웹 애플리케이션을 손상시킬 수 있습니다. 이는 매우 치명적인 취약점으로, 즉시 조치가 필요합니다.

🇺🇸 원문 (English)

SitemagicCMS 4.4.3 contains a remote code execution vulnerability that allows attackers to upload malicious PHP files to the files/images directory. Attackers can upload a .phar file with system command execution payload to compromise the web application and execute arbitrary system commands.

📍 영향받는 시스템

SitemagicCMS 4.4.3

⚔️ 공격 벡터

공격자는 .phar 파일을 업로드하여 시스템 명령을 실행할 수 있습니다.

🛡️ 대응 방법

최신 버전의 SitemagicCMS로 업그레이드하거나, 업로드된 파일을 검사하여 악의적인 파일을 차단합니다.

🔧 검증 코드

이 코드는 로컬 시스템에 PHP가 설치되어 있는지 확인하고, SitemagicCMS 4.4.3이 설치되어 있는지 확인합니다. 코드를 실행하기 전에, Python과 PHP가 설치되어 있어야 합니다. 코드를 실행하면, SitemagicCMS 4.4.3이 설치되어 있는지 여부에 따라 취약 또는 양호로 결과가 출력됩니다.

Shell / Script
import subprocess
result = subprocess.run(['php', '-v'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if 'SitemagicCMS' in result.stdout.decode('utf-8') and '4.4.3' in result.stdout.decode('utf-8'):
    print({"result": "취약", "reason": "SitemagicCMS 4.4.3이 설치되어 있습니다."})
else:
    print({"result": "양호", "reason": "SitemagicCMS 4.4.3이 설치되어 있지 않습니다."})

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP