🇰🇷 한글 설명
WordPress용 LiteSpeed Cache 플러그인 7.8.1 이하 버전에서 댓글 내용을 통한 저장형 XSS 취약점이 발견되었습니다. 입력값 검증 및 출력 이스케이프 미흡으로 인해 인증되지 않은 공격자가 악성 스크립트를 삽입할 수 있습니다. 특히 10진수 숫자 문자 참조를 사용한 페이로드는 WordPress의 wp_kses 필터링을 우회하여 실행될 수 있습니다.
💡 쉬운 설명
해커가 댓글창에 특수한 코드를 숨겨서 작성하면, 다른 사용자가 그 댓글을 볼 때 악성 스크립트가 자동으로 실행되는 보안 결함입니다. 이를 통해 사용자의 정보를 훔치거나 웹사이트를 변조할 수 있습니다.
🇺🇸 원문 (English)
The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Content in all versions up to, and including, 7.8.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. A comment payload crafted exclusively from decimal numeric character references (e.g. ", <, >) placed inside an allowed element such as <code> bypasses WordPress's wp_kses sanitization, as kses does not treat a data-settings="..." substring within text content as an HTML attribute, allowing the malicious payload to reach the vulnerable function. For this to be exploitable, the site must allow users with previously approved comments to write new comments, and the require_name_email setting must be disabled.
📍 영향받는 시스템
WordPress LiteSpeed Cache plugin (버전 7.8.1 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증되지 않은 공격자가 댓글 내용에 10진수 숫자 문자 참조를 포함한 악성 스크립트를 삽입하여 공격
🛡️ 대응 방법
LiteSpeed Cache 플러그인을 최신 버전으로 업데이트하고, 보안 설정을 강화하십시오.
🔧 검증 코드
출력된 litespeed-cache의 버전이 7.8.1 이하인지 확인하십시오.
wp-cli plugin list --allow-root | grep -E 'litespeed-cache'