🇰🇷 한글 설명
WordPress용 WPBakery Page Builder 플러그인 8.7.4 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 'data' 파라미터에 대한 입력값 검증 및 출력 이스케이프 처리가 미흡하여, 인증된 공격자가 악성 스크립트를 삽입할 수 있습니다. 공격자가 Base64로 인코딩된 스크립트를 삽입하면 vc_raw_html 쇼트코드가 이를 디코딩하여 실행하게 됩니다.
💡 쉬운 설명
웹사이트 편집 도구의 허점을 이용해 악성 코드를 몰래 숨겨두는 공격입니다. 권한이 있는 사용자가 페이지에 코드를 심어두면, 다른 사용자가 해당 페이지를 방문할 때 악성 코드가 자동으로 실행됩니다.
🇺🇸 원문 (English)
The WPBakery Page Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'data' parameter in all versions up to, and including, 8.7.4 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. The wp_kses_post sanitization applied during save does not neutralize the payload because the malicious script content is base64-encoded as plain alphanumeric text with no HTML tags to strip; the vc_raw_html shortcode template then decodes and echoes this content unescaped at render time.
📍 영향받는 시스템
WPBakery Page Builder plugin for WordPress (version 8.7.4 and below)
⚔️ 공격 벡터
인증된 공격자가 'data' 파라미터에 Base64로 인코딩된 악성 스크립트를 삽입하여 페이지에 저장
🛡️ 대응 방법
WPBakery Page Builder 플러그인을 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 WPBakery Page Builder의 버전이 8.7.4 이하인지 확인하십시오.
wp plugin list --status=active | grep -i 'wpbakery' && wp plugin list --all | grep -E 'wpbakery' | awk '{print $2, $3}'