🇰🇷 한글 설명
Yoast SEO Premium WordPress 플러그인 27.6.1 미만 버전에서 파일 기반 리다이렉트 모드 사용 시 제어 문자 검증 미흡으로 인해 발생합니다. 권한이 낮은 작성자(Author) 수준의 사용자가 Apache 설정 파일(.htaccess)에 임의의 지시어를 삽입할 수 있으며, 이를 통해 원격 코드 실행(RCE)이 가능합니다.
💡 쉬운 설명
글을 쓸 수 있는 권한만 있는 사용자라도 웹사이트의 핵심 설정 파일을 조작할 수 있는 보안 취약점입니다. 공격자는 이 취약점을 이용해 서버에 악성 코드를 심고 웹사이트를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
The Yoast SEO Premium WordPress plugin before 27.6.1 does not sanitize control characters from redirect origins before writing them to the site's Apache configuration file when the file-based redirect mode is enabled, and the redirect-creation endpoint is reachable by users with only Author-level access. This allows such users to inject arbitrary newline-delimited Apache directives into the root .htaccess file. On Apache servers that honour PHP directives, the injection can be chained with the user's own media upload (a polyglot image carrying a PHP payload) and an auto_prepend_file directive to achieve Remote Code Execution.
📍 영향받는 시스템
Yoast SEO Premium WordPress plugin version < 27.6.1
⚔️ 공격 벡터
작성자 권한을 가진 사용자가 리다이렉트 생성 엔드포인트를 통해 .htaccess 파일에 악성 Apache 지시어를 주입하여 RCE 수행
🛡️ 대응 방법
Yoast SEO Premium 플러그인을 최신 버전(27.6.1 이상)으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 Yoast SEO Premium의 버전이 27.6.1 미만인지 확인하십시오.
wp plugin list --status=active | grep -i 'yoast-seo-premium'