🇰🇷 한글 설명
WordPress용 WPForms Pro 플러그인 2.0.0.2 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 입력값 검증 및 출력 이스케이프 미흡으로 인해 인증되지 않은 공격자가 악성 스크립트를 삽입할 수 있습니다. 특히 iframe의 data-src 속성에 javascript: URI를 삽입하여 스크립트를 실행할 수 있는 구조적 결함이 존재합니다.
💡 쉬운 설명
웹사이트의 입력창에 악성 코드를 몰래 저장해두는 공격 방식입니다. 사용자가 해당 페이지를 방문하기만 해도 공격자가 의도한 악성 스크립트가 실행되어 개인정보가 탈취될 수 있습니다.
🇺🇸 원문 (English)
The WPForms Pro plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Single Line Text and Paragraph Text Field Values in all versions up to, and including, 2.0.0.2 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. The exploit relies on the plugin's own wp_kses_allowed_html filter widening the 'post' allowlist to permit iframe elements with a data-src attribute, which is not on WordPress's URI-attribute sanitization list, allowing a javascript: URI stored in data-src to survive kses processing and subsequently be promoted to a live src attribute by the bundled admin script view-entry.min.js.
📍 영향받는 시스템
WPForms Pro plugin for WordPress (version 2.0.0.2 and below)
⚔️ 공격 벡터
인증되지 않은 공격자가 텍스트 필드에 iframe과 data-src 속성을 이용한 악성 스크립트를 삽입하여 실행
🛡️ 대응 방법
WPForms Pro 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 WPForms Pro의 버전을 확인하여 2.0.0.2 이하인지 체크하십시오.
wp plugin list --status=active | grep -i 'wpforms-pro'