🇰🇷 한글 설명
Zammad 7.0.2 미만 버전에서 고객이 내부 티켓 기사의 첨부 파일을 직접 요청하여 다운로드할 수 있는 권한 우회 취약점이 존재합니다. 기사 목록 API는 내부 기사를 숨기지만, 첨부 파일 다운로드 엔드포인트는 기사 수준의 권한을 확인하지 않고 티켓 권한만 확인하기 때문에 발생합니다.
💡 쉬운 설명
고객용 서비스에서 고객이 봐서는 안 되는 내부 직원용 문서나 첨부 파일을 주소를 직접 입력해 몰래 다운로드할 수 있는 문제입니다. 목록에는 보이지 않지만 파일 다운로드 기능의 보안 검사가 허술하여 발생하는 현상입니다.
🇺🇸 원문 (English)
Zammad is a web based open source helpdesk/customer support system. Prior to 7.0.2, a customer who can view a ticket cannot see internal ticket articles through the article listing API. However, the same customer can directly request an attachment belonging to an internal article via the attachment download endpoint, bypassing article-level authorization. This results in an inconsistency: The article listing hides internal articles from customers. The attachment download only checks the parent ticket, not the article, so the same customer can download the attachment directly. This issue is fixed in version 7.0.2.
📍 영향받는 시스템
Zammad 7.0.2 미만 모든 버전
⚔️ 공격 벡터
권한이 없는 고객이 내부 기사에 속한 첨부 파일의 직접적인 다운로드 URL을 요청하여 탈취
🛡️ 대응 방법
Zammad를 최신 보안 패치가 적용된 버전 7.0.2 이상으로 업데이트
🔧 검증 코드
출력된 버전 번호가 7.0.2보다 낮으면 취약한 상태이며, 7.0.2 이상이면 안전합니다.
curl -s http://<zammad-host>/api/v1/version | grep -oP '(?<=version":")[^"]+'