🇰🇷 한글 설명
MISP 모듈의 확장 모듈에서 안전하지 않은 원격 리소스 가져오기 취약점이 존재합니다. html_to_markdown 모듈은 충분한 검증 없이 임의의 HTTP(S) URL을 허용하여 루프백, 사설, 링크 로컬 네트워크 자원에 대한 SSRF를 유발할 수 있으며, qrcode 모듈은 원격 이미지 조회 시 TLS 인증서 검증을 비활성화하여 중간자 공격에 노출됩니다. 3.0.7 버전에서 수정되었습니다.
💡 쉬운 설명
MISP 보안 위협 정보 공유 도구의 일부 기능이 외부 주소를 검사 없이 접속해 내부망 자원에 접근될 수 있습니다. 이미지 다운로드 시 보안 연결 검증도 꺼져 있어 데이터가 조작될 위험이 있습니다.
🇺🇸 원문 (English)
MISP modules are autonomous modules that can be used to extend MISP for new services. Prior to 3.0.7, an unsafe remote resource fetching vulnerability existed in MISP Modules expansion modules. The html_to_markdown module accepted arbitrary HTTP(S) URLs without sufficient validation, which could allow Server-Side Request Forgery against loopback, private, or link-local network resources. Additionally, the qrcode module disabled TLS certificate verification when retrieving remote images, exposing requests to potential man-in-the-middle interception or response tampering. The issue was fixed by validating URL schemes, blocking local and private address ranges, resolving hostnames before fetching, enforcing request timeouts, and re-enabling TLS certificate verification. This vulnerability is fixed in 3.0.7.
📍 영향받는 시스템
MISP Modules 3.0.7 미만 버전 (html_to_markdown, qrcode 확장 모듈 사용 환경)
⚔️ 공격 벡터
공격자가 조작된 URL을 모듈 입력으로 전달해 서버가 내부망 주소나 localhost에 요청하도록 유도(SSRF), 또는 중간자 위치에서 TLS 검증 없는 이미지 응답을 변조
🛡️ 대응 방법
MISP Modules를 3.0.7 이상으로 업데이트하고, 불필요한 확장 모듈은 비활성화하며, 모듈 서버의 아웃바운드 네트워크 접근을 제한
🔧 검증 코드
출력된 버전이 3.0.7 미만이면 취약하므로 업데이트가 필요하며, 3.0.7 이상이면 수정된 버전입니다.
pip show misp-modules 2>/dev/null | grep -i version || python3 -c "import misp_modules; print(misp_modules.__version__)" 2>/dev/null
💻 영향받는 소프트웨어
Active Directory Certificate Services