🇰🇷 한글 설명
WordPress용 ShopLentor 플러그인의 woolentoropt/v1/custom-action REST API 엔드포인트에서 임의 함수 실행 취약점이 발견되었습니다. handle_action() 메서드가 허용 목록 없이 사용자 입력값을 call_user_func()에 직접 전달하기 때문에 발생하며, 관리자 권한을 가진 인증된 공격자가 임의의 PHP 함수를 실행할 수 있습니다.
💡 쉬운 설명
관리자 권한을 가진 해커가 웹사이트의 특정 기능을 악용하여 서버에서 원하는 명령을 마음대로 실행할 수 있는 보안 구멍이 발견되었습니다. 이로 인해 웹사이트의 제어권을 완전히 빼앗길 위험이 있습니다.
🇺🇸 원문 (English)
The ShopLentor plugin for WordPress is vulnerable to arbitrary function execution via the woolentoropt/v1/custom-action REST API endpoint in all versions up to, and including, 3.3.7. This is due to the handle_action() method passing user-supplied input directly to call_user_func() without an allowlist of permitted callbacks. This makes it possible for authenticated attackers, with Administrator-level access and above, to execute arbitrary PHP callable functions via the 'callback' parameter.
📍 영향받는 시스템
ShopLentor WordPress plugin (버전 3.3.7 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증된 관리자 권한을 이용해 REST API의 'callback' 파라미터에 악의적인 PHP 함수를 전달하여 공격
🛡️ 대응 방법
ShopLentor 플러그인을 최신 버전으로 업데이트하거나, 해당 API 엔드포인트에 대한 접근 제어를 강화하십시오.
🔧 검증 코드
출력된 결과에서 shoplentor의 버전이 3.3.7 이하인지 확인하십시오.
wp plugin list --allow-root | grep -E 'shoplentor'