🇰🇷 한글 설명
Winter CMS에서 SVG 업로드 시 자동으로 제거되지 않는 취약점
💡 쉬운 설명
Winter CMS에서 백엔드에 접근할 수 있는 사용자는 SVG 파일을 업로드할 수 있으며, 이때 자동으로 악성 코드가 제거되지 않아 공격자가 악성 코드를 업로드할 수 있습니다. 이 취약점은 Winter CMS 1.2.10 버전에서 수정되었습니다.
🇺🇸 원문 (English)
Winter is a free, open-source content management system (CMS) based on the Laravel PHP framework. Versions of Winter CMS before 1.2.10 allow users with access to the CMS Asset Manager were able to upload SVGs without automatic sanitization. To actively exploit this security issue, an attacker would need access to the Backend with a user account with the following permission: cms.manage_assets. The Winter CMS maintainers strongly recommend that the cms.manage_assets permission only be reserved to trusted administrators and developers in general. This vulnerability is fixed in 1.2.10.
📍 영향받는 시스템
Winter CMS 1.2.10 이전 버전
⚔️ 공격 벡터
백엔드에 접근할 수 있는 사용자가 SVG 파일을 업로드하여 악성 코드를 실행
🛡️ 대응 방법
Winter CMS를 1.2.10 버전으로 업데이트하고, cms.manage_assets 권한을 신뢰할 수 있는 관리자와 개발자에게만 부여
🔧 검증 코드
로컬에서 Python을 실행하여 Winter CMS 백엔드에 접근할 수 있는지 확인합니다. Winter CMS URL을 'https://your-winter-cms-url.com/backend'으로 교체하고, Python을 실행하여 결과를 확인합니다.
python -c "import requests; r = requests.get('https://your-winter-cms-url.com/backend'); if r.status_code == 200: print('{{"result": "취약", "reason": "백엔드에 접근할 수 있습니다."}}'); else: print('{{"result": "양호", "reason": "백엔드에 접근할 수 없습니다."}}')"