🇰🇷 한글 설명
WordPress용 LiteSpeed Cache 플러그인의 7.9.1 이하 모든 버전에는 'bbp_reply_content' 매개변수의 입력값 검증 및 출력 이스케이프가 부족하여 저장형 크로스사이트 스크립팅(XSS) 취약점이 존재합니다. 이 취약점은 관리자가 Viewport Images(VPI)를 활성화하고 VPI 파일명을 설정한 경우에만 악용 가능하며, 구독자 이상 권한을 가진 인증된 공격자가 악용할 수 있습니다.
💡 쉬운 설명
웹사이트에 댓글을 달 수 있는 일반 회원이 악성 스크립트를 심을 수 있는 보안 문제입니다. 해당 페이지를 방문한 다른 사용자의 브라우저에서 이 스크립트가 실행될 수 있습니다.
🇺🇸 원문 (English)
The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'bbp_reply_content' parameter in all versions up to, and including, 7.9.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires that an administrator has enabled Viewport Images (VPI) and configured a VPI filename that matches an image the attacker can embed in user-generated content — such as a bbPress topic where Subscriber-level Participants are permitted to post replies containing raw img tags.
📍 영향받는 시스템
LiteSpeed Cache for WordPress 7.9.1 이하 버전 (VPI 기능 활성화 및 bbPress 사용 환경)
⚔️ 공격 벡터
구독자 권한의 공격자가 bbPress 답글에 img 태그를 포함한 악성 코드를 삽입하고, VPI 설정과 맞물려 사용자가 해당 페이지 접속 시 스크립트가 실행됨
🛡️ 대응 방법
LiteSpeed Cache 플러그인을 7.9.2 이상 버전으로 업데이트하고, 필요하지 않다면 VPI 기능을 비활성화하며, 신뢰할 수 없는 사용자에게 HTML 입력 권한을 제한
🔧 검증 코드
출력된 버전이 7.9.1 이하이면 취약하며, 7.9.2 이상이면 패치된 버전입니다. 명령어가 결과를 출력하지 않으면 플러그인이 설치되지 않았거나 경로가 다른 것입니다.
wp plugin get litespeed-cache --field=version 2>/dev/null || grep -m1 'Version:' wp-content/plugins/litespeed-cache/litespeed-cache.php 2>/dev/null