🇰🇷 한글 설명
Webheadcoder Multi-Step Forms for Contact Form 7 플러그인의 4.7 이하 모든 버전에는 'l10n_print_after' 매개변수에 대한 입력값 검증 및 출력 이스케이프 미흡으로 인해 반사형 크로스 사이트 스크립팅(XSS) 취약점이 존재합니다. 해당 사이트에 [multistep] 폼 태그가 설정된 Contact Form 7 폼이 하나 이상 있어야 공격이 가능하며, 4.7 버전부터 도입된 정규화 로직은 multistep이 아닌 폼에 대한 공격 경로를 차단합니다.
💡 쉬운 설명
공격자가 악성 링크를 만들어 사용자가 클릭하게 하면, 해당 사용자의 웹사이트 브라우저에서 악성 스크립트가 실행될 수 있습니다. 이 취약점은 다단계(multistep) 폼이 설정된 경우에만 악용될 수 있습니다.
🇺🇸 원문 (English)
The Webheadcoder Multi-Step Forms for Contact Form 7 plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'l10n_print_after' parameter in all versions up to, and including, 4.7 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link. Successful exploitation requires that the targeted site has at least one Contact Form 7 form configured with a [multistep] form-tag, as the canonicalization introduced in version 4.7 blocks the attack path on non-multistep forms.
📍 영향받는 시스템
Webheadcoder Multi-Step Forms for Contact Form 7 플러그인 4.7 이하 버전 (WordPress)
⚔️ 공격 벡터
공격자가 'l10n_print_after' 매개변수에 스크립트를 삽입한 악성 URL을 만들어 사용자가 클릭하도록 유도
🛡️ 대응 방법
플러그인을 4.7 초과 버전으로 즉시 업데이트하고, 사용하지 않는 다단계 폼 설정을 점검
🔧 검증 코드
출력된 버전이 4.7 이하이면 취약하며, 4.8 이상이면 패치가 적용된 것입니다. 아무 결과도 없으면 플러그인이 설치되어 있지 않습니다.
wp plugin get multi-step-forms-for-contact-form-7 --field=version 2>/dev/null || grep -i 'Version:' wp-content/plugins/*multi*step*/*.php 2>/dev/null | head -1