🇰🇷 한글 설명
Statamic CMS의 CsvExporter.php에서 CSV로 내보낼 때 스프레드시트 수식 문자를 중립화하지 않는 취약점이 발견되었습니다. 공격자가 `=`, `+`, `-`, `@`로 시작하는 값을 폼에 입력하면, 관리자가 이를 엑셀 등으로 열 때 악성 수식이 실행될 수 있습니다.
💡 쉬운 설명
웹사이트 문의 양식에 특수 기호를 넣어 제출하면, 관리자가 그 내용을 엑셀로 확인할 때 컴퓨터가 이를 명령어로 오해하여 실행할 수 있는 문제입니다. 익명의 사용자가 보낸 데이터가 관리자의 컴퓨터에 영향을 줄 수 있습니다.
🇺🇸 원문 (English)
Statamic is a Laravel and Git powered content management system (CMS). Prior to 5.73.24 and 6.20.1, form submission values in src/Forms/Exporters/CsvExporter.php were not neutralized for spreadsheet formula characters when exported to CSV. A submission containing a value beginning with a formula trigger character, such as =, +, -, or @, could be interpreted as a live formula when a Control Panel user opens the export in a spreadsheet application. Form submissions can come from unauthenticated front-end visitors, so the malicious value can be supplied by an anonymous user and is later triggered by an editor opening the export. This issue is fixed in versions 5.73.24 and 6.20.1.
📍 영향받는 시스템
Statamic versions prior to 5.73.24 and 6.20.1
⚔️ 공격 벡터
비인증 사용자가 폼 제출 시 수식 트리거 문자가 포함된 값을 입력하여 관리자의 스프레드시트 소프트웨어 실행을 유도함
🛡️ 대응 방법
Statamic 버전을 5.73.24 또는 6.20.1 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 5.73.24 또는 6.20.1보다 낮은지 확인하십시오.
composer show statamic | grep 'versions'