🇰🇷 한글 설명
WordPress용 WPC Product Options for WooCommerce 플러그인 4.0.5 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 공격자가 multipart 필드 이름의 'wpcpo-' 배열 키를 통해 악성 스크립트를 주입할 수 있으며, 이는 PHP의 RFC1867 파서가 해당 데이터를 그대로 보존하여 저장하기 때문에 발생합니다.
💡 쉬운 설명
로그인하지 않은 방문자도 상품 옵션 입력란을 통해 악성 코드를 웹사이트에 몰래 심을 수 있는 보안 결함입니다. 누군가 해당 페이지를 방문하면 심어진 악성 코드가 실행되어 개인정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
The WPC Product Options for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via wpcpo-* Array Key via Multipart Field Name in all versions up to, and including, 4.0.5 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 exploitable via guest checkout without authentication because the malicious payload is embedded in a multipart Content-Disposition field name beginning with 'wpcpo-', which PHP's RFC1867 parser preserves byte-for-byte and stores into order item meta.
📍 영향받는 시스템
WPC Product Options for WooCommerce plugin (버전 4.0.5 및 그 이하 모든 버전)
⚔️ 공격 벡터
비인증 공격자가 게스트 결제 과정에서 multipart Content-Disposition 필드 이름을 조작하여 악성 페이로드를 주입
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나 입력값 검증 및 출력 이스케이프 처리가 적용된 패치를 적용하십시오.
🔧 검증 코드
출력된 플러그인 이름 옆의 버전이 4.0.5 이하인지 확인하십시오.
wp plugin list --status=active | grep -i 'wpc-product-options' && wp plugin list --all | grep -E 'wpc-product-options' | awk '{print $2, $3}'