🇰🇷 한글 설명
Payload CMS의 특정 버전에서 XML 파일 업로드 설정을 악용하여 악성 XML 및 스타일시트를 저장할 수 있는 취약점이 발견되었습니다. 로그인한 사용자가 해당 파일을 열 경우 Payload 오리진에서 자바스크립트가 실행될 수 있습니다.
💡 쉬운 설명
해커가 악성 코드가 담긴 파일을 서버에 올린 뒤, 관리자가 그 파일을 클릭하게 유도하여 관리자의 권한을 탈취할 수 있는 문제입니다. 파일 업로드 기능이 있는 웹사이트에서 발생할 수 있는 위험한 공격입니다.
🇺🇸 원문 (English)
Payload is a free and open source headless content management system. In versions before 3.90.0 and canary versions before 4.0.0-canary.34, local upload configurations that accept XML files can store an XML file and stylesheet that execute JavaScript in the Payload origin when a logged-in user opens the file. This issue is fixed in versions 3.90.0 and 4.0.0-canary.34.
📍 영향받는 시스템
Payload CMS 3.90.0 미만 버전 및 4.0.0-canary.34 미만 버전
⚔️ 공격 벡터
XML 파일 업로드 기능을 통해 악성 스타일시트가 포함된 파일을 업로드하고 사용자의 실행을 유도함
🛡️ 대응 방법
Payload CMS를 3.90.0 또는 4.0.0-canary.34 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 취약한 버전 범위가 나타나면 업데이트가 필요한 상태입니다.
npm list payload --depth=0 | grep -E 'payload@([0-3]\.[0-8][0-9]|4\.0\.0-canary\.[0-3][0-3])'