🇰🇷 한글 설명
TYPO3 CMS 9.0.0~9.5.16 및 10.0.0~10.4.1 버전의 백엔드 UI와 설치 도구에서 동일 사이트 요청 위조(Same-Site Request Forgery) 취약점이 발견되었습니다. 공격자는 XSS를 통해 악성 스크립트를 실행하여 관리자 권한으로 새로운 관리자 계정을 생성하는 등 시스템을 장악할 수 있습니다.
💡 쉬운 설명
관리자가 로그인된 상태에서 악성 파일이나 링크를 클릭하면, 관리자 몰래 관리자 권한으로 명령이 실행되는 보안 결함입니다. 이를 통해 해커가 새로운 관리자 계정을 만들어 사이트를 통째로 뺏을 수 있습니다.
🇺🇸 원문 (English)
In TYPO3 CMS 9.0.0 through 9.5.16 and 10.0.0 through 10.4.1, it has been discovered that the backend user interface and install tool are vulnerable to a same-site request forgery. A backend user can be tricked into interacting with a malicious resource an attacker previously managed to upload to the web server. Scripts are then executed with the privileges of the victims' user session. In a worst-case scenario, new admin users can be created which can directly be used by an attacker. The vulnerability is basically a cross-site request forgery (CSRF) triggered by a cross-site scripting vulnerability (XSS) - but happens on the same target host - thus, it's actually a same-site request forgery. Malicious payload such as HTML containing JavaScript might be provided by either an authenticated backend user or by a non-authenticated user using a third party extension, e.g. file upload in a contact form with knowing the target location. To be successful, the attacked victim requires an active and valid backend or install tool user session at the time of the attack. This has been fixed in 9.5.17 and 10.4.2. The deployment of additional mitigation techniques is suggested as described below. - Sudo Mode Extension This TYPO3 extension intercepts modifications to security relevant database tables, e.g. those storing user accounts or storages of the file abstraction layer. Modifications need to confirmed again by the acting user providing their password again. This technique is known as sudo mode. This way, unintended actions happening in the background can be mitigated. - https://github.com/FriendsOfTYPO3/sudo-mode - https://extensions.typo3.org/extension/sudo_mode - Content Security Policy Content Security Policies tell (modern) browsers how resources served a particular site are handled. It is also possible to disallow script executions for specific locations. In a TYPO3 context, it is suggested to disallow direct script execution at least for locations /fileadmin/ and /uploads/.
📍 영향받는 시스템
TYPO3 CMS 9.0.0-9.5.16, 10.0.0-10.4.1
⚔️ 공격 벡터
XSS를 통해 업로드된 악성 리소스를 활용하여 관리자의 세션 권한으로 CSRF 공격 수행
🛡️ 대응 방법
TYPO3를 9.5.17 또는 10.4.2 이상 버전으로 업데이트하고, Sudo Mode 확장 프로그램 설치 및 CSP 설정을 권장함
🔧 검증 코드
출력된 버전이 9.5.17 미만 또는 10.4.2 미만인지 확인하여 취약 여부를 판단합니다.
composer show typo3/cms-core | grep 'versions'