🇰🇷 한글 설명
Winter CMS 1.2.13 미만 버전에서 백엔드 사용자가 폼 포스트백의 _handler 필드를 조작하여 권한이 없는 컨트롤러 메서드를 호출할 수 있는 취약점이 발견되었습니다. 이로 인해 인증된 사용자가 관리자 권한을 우회하여 사용자 관리와 같은 민감한 기능을 실행할 수 있습니다.
💡 쉬운 설명
로그인한 일반 사용자가 시스템의 규칙을 어기고 관리자만 할 수 있는 명령을 몰래 실행할 수 있는 보안 구멍입니다. 이 취약점을 이용하면 다른 사용자의 비밀번호를 바꾸거나 삭제하는 등의 위험한 행동이 가능합니다.
🇺🇸 원문 (English)
Winter CMS is a content management system built on the Laravel PHP framework. In versions prior to 1.2.13, the backend did not validate the handler name submitted through the form postback _handler POST field, allowing an authenticated backend user to invoke arbitrary controller methods, including protected, private, and action-prefixed ones. While AJAX requests validate that handler names match the on[A-Z][\w+]* pattern, the postback path passed the submitted _handler value straight to the handler dispatcher with no such check, so any controller that exposes a public action or conditionally relaxes its $requiredPermissions check could be reached, bypassing the roles and permissions system. The built-in Users controller was affected because it set $requiredPermissions to null for the myaccount action, letting any authenticated backend user invoke user-management methods such as update_onDelete and update_onManualPasswordReset without holding the backend.manage_users permission. This issue is fixed in version 1.2.13.
📍 영향받는 시스템
Winter CMS 1.2.13 미만 모든 버전
⚔️ 공격 벡터
인증된 백엔드 사용자가 HTTP POST 요청의 _handler 필드 값을 조작하여 임의의 컨트롤러 메서드 호출
🛡️ 대응 방법
Winter CMS를 최신 버전인 1.2.13 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 1.2.13 미만인지 확인하십시오.
composer show wintercms/cms | grep 'versions'