🇰🇷 한글 설명
WordPress용 Youtube Showcase 플러그인 4.0.3 이하 버전에서 임의 함수 호출 취약점이 발견되었습니다. emd_delete_file() AJAX 핸들러의 'path' 매개변수 검증 미흡으로 인해, 인증된 사용자가 PHP 함수를 임의로 실행하여 민감한 정보를 유출할 수 있습니다.
💡 쉬운 설명
플러그인의 보안 허점을 이용해 해커가 서버 내부의 중요한 정보를 몰래 훔쳐볼 수 있는 문제입니다. 일반 회원 권한만 있어도 서버의 설정이나 데이터를 확인할 수 있어 위험합니다.
🇺🇸 원문 (English)
The Youtube Showcase plugin for WordPress is vulnerable to Arbitrary Function Call in versions up to and including 4.0.3. This is due to insufficient validation of the 'path' parameter in the emd_delete_file() AJAX handler in includes/common-functions.php. The user-supplied value is passed through sanitize_text_field(), has its trailing '_PLUGIN_DIR' substring stripped, and is then invoked as a PHP function name with no arguments via `$sess_name()`. The handler is gated only by a nonce — no current_user_can() check is present — and the nonce is emitted on any front-end page that renders a form shortcode containing file fields. This makes it possible for authenticated attackers, with Subscriber-level access and above, to invoke arbitrary zero-argument PHP functions (such as phpinfo, phpversion, get_defined_vars, error_get_last), resulting in sensitive information disclosure and potential further compromise depending on the functions available in the environment.
📍 영향받는 시스템
Youtube Showcase plugin for WordPress (version 4.0.3 and below)
⚔️ 공격 벡터
인증된 사용자(Subscriber 권한 이상)가 조작된 AJAX 요청을 통해 임의의 PHP 함수를 호출
🛡️ 대응 방법
플러그인을 최신 버전으로 업데이트하거나, 권한 검증(current_user_can)이 포함된 패치를 적용해야 합니다.
🔧 검증 코드
출력된 플러그인 목록에서 Youtube Showcase의 설치 여부를 확인하고, 설치된 버전이 4.0.3 이하인지 체크합니다.
wp plugin list --status=active | grep -i 'youtube-showcase'