🇰🇷 한글 설명
WCFM Marketplace – Multivendor Marketplace for WooCommerce 플러그인의 3.7.3 이하 버전에서 저장형 XSS 취약점이 발견되었습니다. 인증된 판매자 권한을 가진 공격자가 미디어 첨부파일의 제목을 조작하여 악성 스크립트를 삽입할 수 있으며, 관리자가 미디어 대시보드를 열 때 해당 스크립트가 실행됩니다.
💡 쉬운 설명
판매자 권한을 가진 사람이 파일 이름을 악성 코드로 바꾸어 올리면, 관리자가 파일을 확인할 때 관리자의 권한을 탈취할 수 있는 보안 약점입니다. 파일 제목에 숨겨진 나쁜 코드가 관리자의 화면에서 실행되는 방식입니다.
🇺🇸 원문 (English)
The WCFM Marketplace – Multivendor Marketplace for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Attachment 'post_title' in all versions up to, and including, 3.7.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Vendor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. An attacker can plant the payload by uploading a media attachment with a crafted title via the WordPress REST API (/wp-json/wp/v2/media), without ever invoking the AJAX endpoint themselves, as the unescaped title is later emitted inside DataTables JSON and inserted as innerHTML upon any privileged user loading the media dashboard.
📍 영향받는 시스템
WCFM Marketplace – Multivendor Marketplace for WooCommerce plugin (v3.7.3 및 그 이하 모든 버전)
⚔️ 공격 벡터
WordPress REST API(/wp-json/wp/v2/media)를 통해 조작된 제목을 가진 미디어 파일을 업로드하여 공격
🛡️ 대응 방법
WCFM Marketplace 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 플러그인 버전이 3.7.3 이하인지 확인하여 취약 여부를 판단합니다.
wp plugin list --status=active | grep -E 'wcfm-marketplace' && wp plugin list --all | grep -E 'wcfm-marketplace' | awk '{print $2, $3}'