🔍 CVE-2026-95693

0.0
CVSS Score
UNKNOWN
2026-09-22
2026-09-22 16:18
✅ 완료

🇰🇷 한글 설명

MISP의 EventReport::uploadPicture 메서드에서 파일 업로드 검증 전 임의의 경로에 대해 파일 존재 여부 및 유형을 확인하는 취약점이 발견되었습니다. perm_add 권한을 가진 인증된 사용자는 오류 메시지의 차이를 이용해 서버 내 임의 파일의 존재와 유형을 파악할 수 있는 정보 노출 취약점이 존재합니다.

💡 쉬운 설명

해커가 서버에 있는 특정 파일이 실제로 존재하는지, 어떤 종류의 파일인지 몰래 알아낼 수 있는 보안 약점입니다. 파일의 내용을 직접 읽을 수는 없지만, 중요한 설정 파일이나 비밀키가 어디에 있는지 찾아내는 데 악용될 수 있습니다.

🇺🇸 원문 (English)

In MISP, the EventReport::uploadPicture method in processed a caller-supplied tmp_name field by invoking file_exists(), mime_content_type(), and exif_imagetype() on the supplied path before verifying that the value was a genuine PHP upload via is_uploaded_file(). An authenticated user holding the perm_add permission could supply an arbitrary filesystem path as the tmp_name value. The application would then probe that path and return distinct validation error messages depending on whether the file existed, its MIME type, or its image format. By observing the differing error responses, an attacker could enumerate the existence of files at arbitrary paths on the MISP server and determine their type.  This constitutes an information disclosure vulnerability: the server's filesystem layout and file types are leaked to any user with the perm_add role without requiring administrative access.  The vulnerability does not allow reading file contents, writing files, or executing code, but it can aid further attacks by revealing sensitive file locations (e.g., configuration files, private keys, or other artifacts) present on the host.

📍 영향받는 시스템

MISP (perm_add 권한을 가진 인증된 사용자)

⚔️ 공격 벡터

임의의 파일 경로를 tmp_name 필드에 입력하여 발생하는 오류 메시지 차이를 분석하는 방식

🛡️ 대응 방법

is_uploaded_file() 함수를 사용하여 파일 업로드 검증을 선행하도록 코드를 수정하고, 오류 메시지를 일반화해야 합니다.

🔧 검증 코드

명령어 결과에서 해당 메서드가 is_uploaded_file() 검증 없이 file_exists() 등을 호출하는지 소스 코드를 확인합니다.

Shell / Script
grep -r "EventReport::uploadPicture" /path/to/misp/src/ 2>/dev/null

💻 영향받는 소프트웨어

PHP