🇰🇷 한글 설명
MISP의 공유 그룹 빠른 편집 기능에서 CSRF 취약점이 발견되었습니다. HTTP 메서드 검증 로직이 주석 처리되어 있어, 공격자가 조작된 GET 요청을 통해 인증된 사용자의 권한으로 조직이나 서버를 임의로 추가 또는 삭제할 수 있습니다.
💡 쉬운 설명
로그인된 관리자가 악성 링크를 클릭하기만 해도, 관리자의 의도와 상관없이 보안 그룹의 설정이 마음대로 변경될 수 있는 문제입니다. 이를 통해 정보 공유 권한이 잘못 설정되거나 공유 체계가 방해받을 수 있습니다.
🇺🇸 원문 (English)
MISP contains a cross-site request forgery (CSRF) vulnerability in the sharing group quick-edit functionality. The addOrg, removeOrg, addServer, and removeServer actions share the __initialiseSGQuickEdit() helper, where the HTTP method validation intended to restrict these operations to POST requests was commented out.
As a result, these state-changing actions could be invoked using GET requests. An attacker could craft a URL targeting one of the affected actions and cause an authenticated MISP user with sufficient privileges to request it, for example through a malicious link or embedded web resource.
Successful exploitation could modify the membership of a MISP sharing group without the victim intentionally performing the operation. Depending on the action performed, an attacker could add or remove organisations or servers from a sharing group, potentially granting unintended access to information distributed through that sharing group or disrupting legitimate information sharing.
The patch restores HTTP method enforcement centrally in __initialiseSGQuickEdit() by calling allowMethod(['post']), ensuring that all four affected quick-edit operations require POST requests and are therefore subject to the application's normal protections for state-changing requests.
📍 영향받는 시스템
MISP (Sharing Group Quick-Edit 기능 사용 시)
⚔️ 공격 벡터
권한이 있는 사용자를 대상으로 조작된 URL(GET 요청)을 클릭하도록 유도하는 CSRF 공격
🛡️ 대응 방법
HTTP 메서드 검증을 복구하여 해당 동작들이 POST 요청만 허용하도록 패치 적용
🔧 검증 코드
명령어 결과에서 __initialiseSGQuickEdit 함수 내에 allowMethod(['post']) 호출 코드가 포함되어 있는지 확인하십시오.
grep -r "allowMethod(['post'])" /path/to/misp/src/Controller/ | grep "__initialiseSGQuickEdit"
💻 영향받는 소프트웨어
IBM WebSphere Application Server