🇰🇷 한글 설명
Active Storage 5.2.0 이상의 Google Cloud Storage 및 Disk 서비스에서 발생하는 우회 취약점입니다. 공격자가 content-disposition 및 content-type 매개변수를 수정하여 HTML 파일을 인라인으로 실행하거나, 특정 기법과 결합하여 비공개 서명된 URL에 접근할 수 있습니다.
💡 쉬운 설명
파일의 종류를 속여서 악성 HTML 파일을 웹사이트에서 직접 실행하게 만들 수 있는 보안 약점입니다. 이를 통해 공격자가 사용자의 개인적인 파일 주소를 알아낼 위험이 있습니다.
🇺🇸 원문 (English)
A bypass vulnerability in Active Storage >= 5.2.0 for Google Cloud Storage and Disk services allow an attacker to modify the `content-disposition` and `content-type` parameters which can be used in with HTML files and have them executed inline. Additionally, if combined with other techniques such as cookie bombing and specially crafted AppCache manifests, an attacker can gain access to private signed URLs within a specific storage path. This vulnerability has been fixed in version 5.2.1.1.
📍 영향받는 시스템
Ruby on Rails Active Storage >= 5.2.0 (Google Cloud Storage 및 Disk 서비스 사용 시)
⚔️ 공격 벡터
매개변수 조작을 통한 content-disposition 및 content-type 변조 및 AppCache 등을 이용한 결합 공격
🛡️ 대응 방법
Active Storage 버전을 5.2.1.1 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 5.2.1.1 미만인지 확인하십시오.
bundle info activesupport | grep -E 'version'