🇰🇷 한글 설명
WordPress의 Element Pack Addons for Elementor 플러그인 8.4.2 이하 버전에서 SVG 이미지 위젯을 통한 저장형 XSS 취약점이 발견되었습니다. render_svg() 함수가 원격 URL에서 가져온 SVG 콘텐츠를 적절한 검증 없이 출력하여, 공격자가 악성 자바스크립트를 삽입할 수 있습니다. 기여 권한(Contributor) 이상의 인증된 공격자가 이를 악용하여 사용자 브라우저에서 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트 제작 도구의 이미지 기능에 보안 구멍이 있어, 나쁜 코드가 숨겨진 이미지를 올리면 방문자의 정보를 훔칠 수 있습니다. 권한이 있는 사용자가 악성 이미지를 삽입하면 다른 사용자가 해당 페이지를 볼 때 공격이 실행됩니다.
🇺🇸 원문 (English)
The Element Pack Addons for Elementor plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the SVG Image Widget in versions up to and including 8.4.2. This is due to insufficient input sanitization and output escaping on SVG content fetched from remote URLs in the render_svg() function. The function fetches SVG content using wp_safe_remote_get() and then directly echoes it to the page without any sanitization, only applying a preg_replace() to add attributes to the SVG tag which does not remove malicious event handlers. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary JavaScript in SVG files that will execute whenever a user accesses a page containing the malicious widget.
📍 영향받는 시스템
Element Pack Addons for Elementor plugin (WordPress) version 8.4.2 and below
⚔️ 공격 벡터
인증된 공격자가 악성 스크립트가 포함된 SVG 파일을 원격 URL로 지정하여 SVG 이미지 위젯에 삽입
🛡️ 대응 방법
Element Pack Addons for Elementor 플러그인을 최신 보안 패치 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 해당 플러그인이 나타나면, 설치된 버전을 확인하여 8.4.2 이하인지 점검하십시오.
wp plugin list --status=active | grep -E 'element-pack-addons-for-elementor'