🔍 CVE-2026-95701

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

🇰🇷 한글 설명

MISP의 UsersController.php 내 __statisticsOrgs 메서드에서 조직 이름을 파일 시스템 경로 구성 요소로 직접 사용하여 경로 탐색 취약점이 발생합니다. 공격자가 조직 이름을 조작하여 디렉토리 탐색 시퀀스를 포함할 경우, 서버의 임의 파일 존재 여부를 확인할 수 있습니다. 다만, 현재 배포 버전에서는 해당 경로가 존재하지 않아 실제 공격은 실행되지 않는 상태입니다.

💡 쉬운 설명

조직 이름을 설정할 때 특수 문자를 걸러내지 않아 발생하는 보안 약점입니다. 공격자가 이름을 교묘하게 바꾸면 서버 내의 다른 중요한 파일이 있는지 몰래 확인할 수 있습니다.

🇺🇸 원문 (English)

In MISP, the __statisticsOrgs method in UsersController.php used the organization name directly as a file-system path component when checking for the existence of an organization logo image. The original code called file_exists() with a path constructed as APP . 'webroot' . DS . 'img' . DS . 'orgs' . DS . $k . '.png', where $k is the organization name. Because the referenced directory (app/webroot/img/orgs) no longer exists in current MISP deployments (org logos were relocated to files/img/orgs), the check was functionally dead and never triggered. However, the underlying pattern—concatenating an attacker-influenced organization name into a file path without sanitization—constitutes a path traversal weakness. An organization name containing directory traversal sequences (e.g., '../../../../etc/passwd') would, if the target directory existed, allow an authenticated user with the ability to create or rename an organization to probe for the existence of arbitrary files on the server.

📍 영향받는 시스템

MISP (UsersController.php의 __statisticsOrgs 메서드 사용 버전)

⚔️ 공격 벡터

인증된 사용자가 조직 이름을 생성하거나 변경할 때 디렉토리 탐색 문자열(예: ../..)을 삽입하여 공격

🛡️ 대응 방법

조직 이름 입력값에 대한 경로 탐색 문자열 검증 및 산출된 경로의 안전성 확인 로직 적용

🔧 검증 코드

명령어 결과로 해당 메서드와 파일 경로가 출력되면 취약한 코드 패턴이 존재하는 것으로 간주합니다.

Shell / Script
grep -r "__statisticsOrgs" /var/www/MISP/app/Controller/UsersController.php

💻 영향받는 소프트웨어

Log Server