🇰🇷 한글 설명
WordPress용 LiteSpeed Cache 플러그인 7.7 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 'Lazy Load Images' 및 'Add Missing Sizes' 기능 활성화 시 이미지 태그의 width와 height 속성을 제거하는 정규 표현식 오류로 인해 발생합니다. 권한을 가진 공격자가 악성 스크립트를 삽입하여 사용자의 브라우저에서 실행될 수 있습니다.
💡 쉬운 설명
이미지 크기를 자동으로 조절하는 기능의 오류를 이용해 해커가 몰래 악성 코드를 심을 수 있는 문제입니다. 글을 쓸 권한이 있는 사용자가 이 코드를 심으면, 해당 페이지를 보는 다른 사람들의 정보가 탈취될 수 있습니다.
🇺🇸 원문 (English)
The LiteSpeed Cache plugin for WordPress is vulnerable to Stored Cross-Site Scripting via crafted `<img>` tag attributes in all versions up to, and including, 7.7. This is due to a flawed regular expression that is used to strip `width` and `height` attributes from images when the "Lazy Load Images" and "Add Missing Sizes" features are enabled. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts in pages that execute whenever a user accesses an injected page.
📍 영향받는 시스템
LiteSpeed Cache plugin for WordPress (version 7.7 and below)
⚔️ 공격 벡터
인증된 공격자(Author 권한 이상)가 조작된 <img> 태그 속성을 포함한 콘텐츠를 저장하여 실행
🛡️ 대응 방법
LiteSpeed Cache 플러그인을 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 litespeed-cache의 버전이 7.7 이하인지 확인하십시오.
wp-cli plugin list --allow-root | grep -E 'litespeed-cache'