🔍 CVE-2026-71447

0.0
CVSS Score
UNKNOWN
2026-08-06
2026-10-24 15:10
✅ 완료

🇰🇷 한글 설명

AIL Project의 채팅 메시지 및 포럼 게시물 번역 컨트롤에서 저장형 크로스사이트 스크립팅(XSS) 취약점이 발견되었습니다. 메시지/게시물 식별자가 HTML 템플릿 이스케이프만 거친 채 인라인 JavaScript onclick 핸들러에 삽입되어, 조작된 식별자로 임의의 자바스크립트가 실행될 수 있습니다.

💡 쉬운 설명

악성 데이터가 저장된 채팅이나 게시물의 번역 버튼을 누르면 공격 코드가 브라우저에서 실행될 수 있습니다. 피해자가 버튼을 클릭해야만 공격이 성립합니다.

🇺🇸 원문 (English)

AIL Project contains a stored cross-site scripting vulnerability in the translation controls displayed for chat messages and forum posts. The affected templates inserted message and post identifiers directly into inline JavaScript onclick handlers: onclick="translateMessageToPreferredLanguage('{{ message['id'] }}', '{{ mess_id_escape }}', this)" and: onclick="translatePostToPreferredLanguage('{{ post['id'] }}', '{{ post_id_escape }}', this)" These values were HTML-template escaped but were not safely encoded for use as JavaScript string literals inside an HTML attribute. A specially crafted identifier containing quotation marks, escape characters, or other JavaScript syntax could therefore terminate the expected string argument and inject arbitrary JavaScript into the event handler. Because the affected values are associated with indexed chat messages or forum posts, a malicious value may remain stored by AIL and be rendered whenever an analyst accesses the corresponding chat or forum explorer view. Successful exploitation requires the victim to click the affected Translate to preferred language button. The injected code would then execute in the victim’s browser under the security origin of the AIL instance.

📍 영향받는 시스템

AIL Project (AIL framework) - 패치 이전의 모든 버전 (정확한 영향 버전 범위는 공식 권고문 확인 필요)

⚔️ 공격 벡터

공격자가 특수문자를 포함한 식별자를 AIL에 저장한 뒤, 분석가가 해당 채팅/포럼 뷰에서 번역 버튼을 클릭하도록 유도

🛡️ 대응 방법

AIL Project를 최신 패치 버전으로 업데이트하고, 식별자를 JavaScript 문자열 리터럴로 안전하게 인코딩(JSON 직렬화 등)하거나 onclick 인라인 핸들러 대신 이벤트 리스너를 사용하도록 수정

🔧 검증 코드

결과가 출력되면 해당 취약한 onclick 인라인 호출이 템플릿에 남아 있다는 의미이므로 패치가 미적용된 상태이며, 아무 출력이 없으면 해당 코드가 제거되었거나 설치 경로가 다른 것입니다.

Shell / Script
grep -rn "translateMessageToPreferredLanguage\|translatePostToPreferredLanguage" /opt/ail-framework/var/www/ 2>/dev/null | grep onclick

💻 영향받는 소프트웨어

Oracle Java SE