🇰🇷 한글 설명
Drupal 7의 Term Reference Tree 모듈에서 위젯 및 포맷터 렌더링 파이프라인을 통해 두 가지 저장형 XSS 취약점이 존재합니다. 공격자가 분류 체계 용어의 설명이나 이름을 조작하여 악성 스크립트를 삽입할 수 있으며, 해당 필드가 렌더링될 때 스크립트가 실행됩니다.
💡 쉬운 설명
웹사이트의 특정 항목 이름을 바꿀 수 있는 권한을 가진 사람이 악성 코드를 심어 놓을 수 있는 보안 약점입니다. 이 코드가 심어진 페이지를 다른 사용자가 방문하면 사용자의 브라우저에서 몰래 악성 스크립트가 실행될 수 있습니다.
🇺🇸 원문 (English)
In the Drupal 7 Term Reference Tree module, two stored XSS vectors exist in the widget/formatter rendering pipeline.
Vector A (token display templates): When the Token module is enabled and token display templates are configured, attacker-controlled token output (e.g., term description) is rendered without proper sanitization. Any user who can edit the referenced taxonomy terms can inject HTML/JS that executes when the field is rendered.
Vector B (term label rendering): Taxonomy term labels are not properly sanitized before being rendered in the widget, allowing a user with permission to create or edit taxonomy terms to inject scripts into the term name that execute when a form containing the widget is viewed.
Exploit affects versions 7.x-1.x up to and including 7.x-1.11.
📍 영향받는 시스템
Drupal 7.x-1.x (7.x-1.11 버전 포함)
⚔️ 공격 벡터
분류 체계 용어의 이름이나 설명을 수정하여 악성 HTML/JS 코드를 삽입하는 저장형 XSS 공격
🛡️ 대응 방법
Term Reference Tree 모듈을 최신 보안 패치 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 7.x-1.11 이하인지 확인하여 취약 여부를 판단합니다.
composer show drupal/term_reference_tree | grep 'versions'