🇰🇷 한글 설명
WooCommerce용 WCPOS 플러그인의 'thermal' 템플릿 엔진에서 코드 주입 취약점이 발견되었습니다. Shop Manager 권한을 가진 인증된 공격자가 템플릿 포스트에 임의의 PHP 코드를 삽입하여 서버에서 원격 코드를 실행할 수 있습니다.
💡 쉬운 설명
가게 관리자 권한을 가진 사람이 악성 코드를 몰래 심어 서버를 마음대로 조종할 수 있는 보안 구멍이 있습니다. 이로 인해 웹사이트의 제어권을 통째로 빼앗길 위험이 있습니다.
🇺🇸 원문 (English)
The WCPOS – Point of Sale (POS) plugin for WooCommerce plugin for WordPress is vulnerable to Code Injection via the 'thermal' Template Engine in all versions up to, and including, 1.9.14 due to the Receipt_Renderer_Factory dispatching templates with the 'thermal' engine to the Legacy_Php_Renderer instead of a safe thermal-specific renderer. This makes it possible for authenticated attackers, with Shop Manager-level access and above, to inject arbitrary PHP code into a template post that is subsequently written to a temporary file and executed via PHP's include(), resulting in remote code execution on the server. This requires the attacker to have Shop Manager-level access or above, as the template save path enforces a wcpos_template_settings nonce and the manage_woocommerce_pos capability check.
📍 영향받는 시스템
WCPOS – Point of Sale (POS) plugin for WooCommerce 1.9.14 및 그 이전 모든 버전
⚔️ 공격 벡터
Shop Manager 이상의 권한을 가진 공격자가 템플릿 포스트에 PHP 코드를 주입하여 include() 함수를 통해 실행
🛡️ 대응 방법
WCPOS 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
플러그인 목록에서 WCPOS를 확인한 후, 관리자 페이지에서 현재 설치된 버전이 1.9.14 이하인지 확인하십시오.
wp plugin list --status=active | grep -i 'wcpos' && echo 'Check version manually via WordPress Dashboard'