🇰🇷 한글 설명
WordPress의 Quick Playground 플러그인 1.3.4 이하 버전에서 경로 탐색(Path Traversal) 취약점이 발견되었습니다. `qckply_data()` 함수가 사용자 입력값인 `filename` 파라미터를 검증 없이 `file_get_contents()`에 전달하여, 관리자 권한을 가진 공격자가 서버의 민감한 파일을 읽을 수 있습니다. 이 취약점은 사이트가 WordPress Playground와 동기화된 상태에서만 악용 가능합니다.
💡 쉬운 설명
관리자 권한을 가진 사용자가 플러그인의 허점을 이용해 서버에 저장된 중요한 설정 파일이나 비밀번호 파일을 몰래 훔쳐볼 수 있는 문제입니다. 다만, 특정 환경(Playground 동기화 상태)에서만 작동하는 제한적인 취약점입니다.
🇺🇸 원문 (English)
The Quick Playground plugin for WordPress is vulnerable to Path Traversal in all versions up to, and including, 1.3.4. This is due to the `qckply_data()` function passing the user-supplied `filename` POST parameter directly to `file_get_contents()` without any validation, sanitization, or path restriction. This makes it possible for authenticated attackers, with Administrator-level access and above, to read arbitrary files on the server, such as `wp-config.php` or `/etc/passwd`, which can contain sensitive information. Note: This vulnerability is only exploitable when the site has been synced with WordPress Playground (the `is_qckply_clone` option is set) or when running on `playground.wordpress.net`.
📍 영향받는 시스템
Quick Playground plugin for WordPress (버전 1.3.4 및 그 이하 모든 버전)
⚔️ 공격 벡터
인증된 관리자 권한을 이용해 `filename` POST 파라미터에 경로 탐색 문자열을 삽입하여 파일 읽기 시도
🛡️ 대응 방법
Quick Playground 플러그인을 최신 버전으로 업데이트하거나, 사용하지 않을 경우 삭제하십시오.
🔧 검증 코드
출력된 버전 번호가 1.3.4와 같거나 그보다 낮은지 확인하십시오.
wp plugin list --name quick-playground --format=json | grep -E '"version":"[0-9.]+"'