🇰🇷 한글 설명
Admidio 5.0.0부터 5.0.6 버전의 문서 및 파일 모듈에서 권한 검증 미흡으로 인해 파일이나 폴더를 삭제할 수 있는 취약점이 발견되었습니다. 공격자는 CSRF 토큰 검증 부재와 GET 요청을 통한 삭제 기능을 악용하여 인증되지 않은 상태에서도 공용 문서를 삭제하거나, 권한이 낮은 사용자가 읽기 전용 파일을 삭제할 수 있습니다.
💡 쉬운 설명
누구나 링크를 클릭하는 것만으로도 중요한 문서나 폴더를 영구적으로 삭제할 수 있는 보안 결함입니다. 관리자뿐만 아니라 읽기 권한만 있는 사용자도 파일을 지울 수 있어 데이터 손실 위험이 매우 높습니다.
🇺🇸 원문 (English)
Admidio is an open-source user management solution. In versions 5.0.0 through 5.0.6, the documents and files module does not verify whether the current user has permission to delete folders or files. The folder_delete and file_delete action handlers in modules/documents-files.php only perform a VIEW authorization check (getFolderForDownload / getFileForDownload) before calling delete(), and they never validate a CSRF token. Because the target UUIDs are read from $_GET, deletion can be triggered by a plain HTTP GET request. When the module is in public mode (documents_files_module_enabled = 1) and a folder is marked public (fol_public = true), an unauthenticated attacker can permanently destroy the entire document library. Even when the module requires login, any user with view-only access can delete content they are only permitted to read. This issue has been fixed in version 5.0.7.
📍 영향받는 시스템
Admidio versions 5.0.0 through 5.0.6
⚔️ 공격 벡터
조작된 HTTP GET 요청을 통한 CSRF 공격 및 권한 우회
🛡️ 대응 방법
Admidio를 최신 보안 패치가 적용된 버전 5.0.7 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 5.0.0에서 5.0.6 사이의 버전이 나타나면 해당 취약점에 노출된 상태입니다.
php -r 'echo "Admidio version check";' && grep -r "version" /path/to/admidio/ | grep -E "5\.0\.[0-6]"
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
💻 영향받는 소프트웨어
IBM Security Verify Access