🇰🇷 한글 설명
WordPress용 Magic Tooltips For Contact Form 7 플러그인 1.0.34 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 'author' 파라미터에 대한 입력값 검증 및 출력 이스케이프 처리가 미흡하여, 공격자가 악성 스크립트를 삽입할 수 있습니다. 관리자가 댓글 관리 페이지를 확인할 때 삽입된 스크립트가 실행될 수 있습니다.
💡 쉬운 설명
댓글 작성자 이름에 몰래 악성 코드를 숨겨서 보낼 수 있는 보안 약점이 있습니다. 관리자가 이 댓글을 확인하는 순간, 관리자의 권한을 탈취하거나 웹사이트를 조작하는 코드가 실행될 수 있습니다.
🇺🇸 원문 (English)
The Magic Tooltips For Contact Form 7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'author' parameter in all versions up to, and including, 1.0.34 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. This is possible because the plugin's esc_html filter callback decodes HTML-entity-encoded payloads (e.g. those containing '<tip>') back into live HTML, meaning an entity-encoded script payload submitted as a comment author name — which bypasses sanitize_text_field — is rendered as executable markup when an administrator views wp-admin/edit-comments.php.
📍 영향받는 시스템
Magic Tooltips For Contact Form 7 plugin (WordPress) version 1.0.34 and below
⚔️ 공격 벡터
인증되지 않은 공격자가 'author' 파라미터에 HTML 엔티티로 인코딩된 스크립트를 삽입하여 관리자 페이지에서 실행 유도
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 입력값 검증 및 출력 이스케이프 처리가 적용된 패치 적용
🔧 검증 코드
출력된 플러그인 버전이 1.0.34 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --status=active | grep 'magic-tooltips-for-contact-form-7' | awk '{print $2, $3}'