🔍 CVE-2026-2296

7.2
CVSS Score
HIGH
2026-02-18
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

Woocommerce Product Addons 플러그인의 evalConditions() 함수에서 'operator' 필드 입력 검증이 부족하여 PHP eval() 함수에 비정제 사용자 입력이 직접 전달되는 코드 인젝션 취약점입니다. Shop Manager 이상 권한의 인증된 공격자가 조건부 로직 'operator' 파라미터를 통해 임의의 PHP 코드를 서버에 주입하고 실행할 수 있습니다.

💡 쉬운 설명

Woocommerce 플러그인의 설정 화면에서 특정 필드를 통해 악의적인 코드를 입력하면 바로 서버에서 실행됩니다. Shop Manager 권한이 있는 사용자가 이를 악용하면 서버 전체를 장악할 수 있는 위험한 취약점입니다.

🇺🇸 원문 (English)

The Product Addons for Woocommerce – Product Options with Custom Fields plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 3.1.0. This is due to insufficient input validation of the 'operator' field in conditional logic rules within the evalConditions() function, which passes unsanitized user input directly to PHP's eval() function. This makes it possible for authenticated attackers, with Shop Manager-level access and above, to inject and execute arbitrary PHP code on the server via the conditional logic 'operator' parameter when saving addon form field rules.

📍 영향받는 시스템

Product Addons for Woocommerce - Product Options with Custom Fields plugin version 3.1.0 and below

⚔️ 공격 벡터

Authenticated attacker with Shop Manager role or above injects malicious PHP code via the 'operator' parameter in conditional logic rules when saving addon form field configuration

🛡️ 대응 방법

Update plugin to patched version and implement strict input validation/sanitization on the 'operator' field to prevent code injection

🔧 검증 코드

Reported version number 3.1.0 or lower indicates vulnerability; version higher than 3.1.0 indicates patch applied

Shell / Script
grep -r "Version:" /var/www/html/wp-content/plugins/product-addons-for-woocommerce/ 2>/dev/null | grep -oE "[0-9]+\.[0-9]+\.[0-9]+" | head -1

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

PHP