🇰🇷 한글 설명
WordPress의 Request a Quote 플러그인 2.5.5 이하 버전에서 emd_delete_file AJAX 액션을 통한 코드 주입 취약점이 발견되었습니다. 공격자가 $_POST['path'] 파라미터를 조작하여 서버에서 임의의 PHP 함수를 실행할 수 있으며, 이를 통해 민감한 정보 노출이나 시스템 파괴가 가능합니다.
💡 쉬운 설명
웹사이트의 견적 요청 플러그인에 허점이 있어, 로그인하지 않은 해커가 서버에 몰래 명령을 내릴 수 있는 상태입니다. 해커가 서버의 중요한 정보를 훔쳐보거나 시스템을 망가뜨릴 위험이 있습니다.
🇺🇸 원문 (English)
The Request a Quote plugin for WordPress is vulnerable to Code Injection in versions up to, and including, 2.5.5 via the emd_delete_file AJAX action. This is due to the emd_delete_file() handler deriving a PHP function name from the attacker-controlled $_POST['path'] parameter and invoking it dynamically via the variable-function call $sess_name(), and the handler being registered for wp_ajax_nopriv with its only protection being a nonce that the plugin prints into the public quote-form page via wp_localize_script. This makes it possible for unauthenticated attackers to invoke arbitrary zero-argument PHP functions on the server, such as phpinfo(), potentially exposing sensitive server configuration and credentials, or executing other destructive built-in PHP functions.
📍 영향받는 시스템
WordPress Request a Quote plugin versions up to and including 2.5.5
⚔️ 공격 벡터
인증되지 않은 공격자가 조작된 $_POST['path'] 값을 포함한 AJAX 요청을 전송하여 임의의 PHP 함수 호출
🛡️ 대응 방법
Request a Quote 플러그인을 최신 보안 패치가 적용된 버전으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 플러그인 이름과 현재 설치된 버전을 확인하여 2.5.5 이하인지 체크합니다.
wp plugin list --all | grep -E 'request-a-quote'