🇰🇷 한글 설명
WordPress용 Avada 테마의 사용자 프로필 소셜 링크 필드에서 저장형 XSS 취약점이 발견되었습니다. 공격자가 특정 소셜 링크 필드에 악성 자바스크립트 코드를 삽입할 수 있으며, 사용자가 해당 작성자 페이지의 아이콘을 클릭할 때 코드가 실행됩니다.
💡 쉬운 설명
웹사이트 작성자 프로필에 악성 링크를 몰래 심어두는 공격입니다. 누군가 그 프로필의 SNS 아이콘을 클릭하면 해커가 의도한 나쁜 동작이 실행될 수 있습니다.
🇺🇸 원문 (English)
The Avada | Website Builder For WordPress & WooCommerce theme for WordPress is vulnerable to Stored Cross-Site Scripting via the user profile 'Author Page' social link contact-method fields (author_facebook, author_twitter, author_linkedin, author_dribble, author_whatsapp, author_email) in versions up to, and including, 7.16.1. Avada registers these fields through the user_contactmethods filter and, on the author archive, emits them inside an anchor href using only esc_attr() in Fusion_Social_Icon::get_markup(), which escapes HTML metacharacters but does not reject dangerous URL schemes such as javascript:. 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 their author page and clicks the injected social icon (a click is required, and the site must have 'Open Social Icons in a New Window' set to Off so the browser doesn't block the javascript: URL from opening in a new tab).
📍 영향받는 시스템
Avada | Website Builder For WordPress & WooCommerce (버전 7.16.1 이하)
⚔️ 공격 벡터
인증된 사용자(구독자 권한 이상)가 프로필의 소셜 링크 필드에 'javascript:' 스킴을 포함한 악성 URL을 입력하여 공격
🛡️ 대응 방법
Avada 테마를 최신 버전으로 업데이트하거나, 소셜 아이콘 설정에서 'Open Social Icons in a New Window' 옵션을 활성화하십시오.
🔧 검증 코드
출력된 버전 번호가 7.16.1 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --name avada | grep -E '7\[\.\d+\.\d+\]'