🇰🇷 한글 설명
WordPress Pie Register 플러그인 3.7.1.4 이하 버전의 인증 우회 취약점으로, social_site 파라미터를 조작하여 암호 없이 임의의 사용자(관리자 포함)로 가장할 수 있습니다. 인증 후 플러그인 업로드 기능을 악용하여 악성 PHP 코드를 포함한 플러그인을 설치하면 서버 원격 코드 실행이 가능합니다.
💡 쉬운 설명
WordPress 플러그인의 로그인 기능에 허점이 있어서 암호를 모르는 사람도 관리자로 로그인할 수 있습니다. 로그인 후 악성 코드를 서버에 설치하여 전체 웹사이트를 장악할 수 있습니다.
🇺🇸 원문 (English)
An authentication bypass vulnerability exists in the WordPress Pie Register plugin ≤ 3.7.1.4 that allows unauthenticated attackers to impersonate arbitrary users by submitting a crafted POST request to the login endpoint. By setting social_site=true and manipulating the user_id_social_site parameter, an attacker can generate a valid WordPress session cookie for any user ID, including administrators. Once authenticated, the attacker may exploit plugin upload functionality to install a malicious plugin containing arbitrary PHP code, resulting in remote code execution on the underlying server.
📍 영향받는 시스템
WordPress Pie Register plugin ≤ 3.7.1.4
⚔️ 공격 벡터
POST 요청으로 social_site=true를 설정하고 user_id_social_site 파라미터를 조작하여 임의의 사용자 ID로 유효한 세션 쿠키 생성
🛡️ 대응 방법
Pie Register 플러그인을 3.7.1.5 이상으로 즉시 업데이트하거나 사용하지 않으면 제거
🔧 검증 코드
플러그인 버전이 3.7.1.4 이하이면 취약하며, 3.7.1.5 이상이거나 플러그인이 설치되지 않았으면 안전합니다.
wp plugin get pie-register --field=version 2>/dev/null || find /var/www/html/wp-content/plugins/pie-register -name 'pie-register.php' -exec grep -oP '(?<=Version: ).*' {} \; 2>/dev/null