🇰🇷 한글 설명
Directus 8 버전 8.8.2 미만에서는 인증된 원격 사용자가 임의의 코드를 실행할 수 있는 취약점이 존재합니다. 파일 업로드 권한을 악용하여 .php 파일이나 .htaccess 파일을 업로드함으로써 Apache HTTP 서버 환경에서 공격이 가능합니다.
💡 쉬운 설명
로그인 권한이 있는 사용자가 서버에 악성 파일을 몰래 올려서 서버를 마음대로 조종할 수 있는 문제입니다. 특히 Apache 서버를 사용하는 특정 설정에서 위험합니다.
🇺🇸 원문 (English)
Directus 8 before 8.8.2 allows remote authenticated users to execute arbitrary code because file-upload permissions include the ability to upload a .php file to the main upload directory and/or upload a .php file and a .htaccess file to a subdirectory. Exploitation succeeds only for certain installations with the Apache HTTP Server and the local-storage driver (e.g., when the product was obtained from hub.docker.com).
📍 영향받는 시스템
Directus 8 (8.8.2 미만 버전)
⚔️ 공격 벡터
인증된 사용자가 .php 또는 .htaccess 파일을 업로드하여 원격 코드 실행(RCE) 수행
🛡️ 대응 방법
Directus를 8.8.2 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 [email protected] 형태의 버전이 나타나면 취약한 버전이 설치된 것입니다.
npm list directus | grep -E 'directus@8\.[0-8]\.'