🔍 CVE-2023-53971

8.8
CVSS Score
HIGH
2025-12-22
2025-12-23 14:51
✅ 완료

🇰🇷 한글 설명

WebTareas 2.4에서 파일 업로드 취약점이 발견되어 인증된 사용자가 채팅 사진 업로드 기능을 통해 악의적인 PHP 파일을 업로드할 수 있습니다. 공격자는 임의의 코드가 포함된 PHP 파일을 /files/Messages/ 디렉토리에 업로드하고 생성된 파일 경로를 통해 직접 실행할 수 있습니다.

💡 쉬운 설명

WebTareas 2.4에서 파일 업로드 취약점이 발견되어 악의적인 PHP 파일을 업로드하고 실행할 수 있습니다. 이는 인증된 사용자에게 영향을 미치며, 시스템의 보안을 위협할 수 있습니다. 업로드된 파일을 실행하면 임의의 코드가 실행될 수 있습니다.

🇺🇸 원문 (English)

WebTareas 2.4 contains a file upload vulnerability that allows authenticated users to upload malicious PHP files through the chat photo upload functionality. Attackers can upload a PHP file with arbitrary code to the /files/Messages/ directory and execute it directly through the generated file path.

📍 영향받는 시스템

WebTareas 2.4

⚔️ 공격 벡터

인증된 사용자가 채팅 사진 업로드 기능을 통해 악의적인 PHP 파일을 업로드

🛡️ 대응 방법

WebTareas의 최신 버전으로 업데이트하거나, 파일 업로드 기능을 제한하거나, 업로드된 파일을 검사하는 보안 조치를 취합니다.

🔧 검증 코드

로컬 시스템에서 Python을 실행하여 WebTareas의 파일 업로드 취약점을 검사합니다. 예제 코드는 WebTareas가 설치된 서버의 /files/Messages/ 디렉토리에 접근하여 PHP 파일 업로드가 가능한지 확인합니다. 실행 전 Python과 requests 라이브러리가 설치되어 있어야 합니다.

Shell / Script
import requests
response = requests.get('https://example.com/files/Messages/')['Content-Type']
if 'application/php' in response:
    print({"result": "취약", "reason": "PHP 파일 업로드 가능"})
else:
    print({"result": "양호", "reason": "PHP 파일 업로드 불가능"})

📊 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