🔍 CVE-2025-53622

5.2
CVSS Score
MEDIUM
2025-07-15
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

DSpace 저장소 소프트웨어의 아카이브 가져오기 기능에서 경로 순회 취약점이 존재합니다. 공격자가 조작된 SAF 패키지를 생성하고 관리자가 가져올 경우, Tomcat 사용자 권한으로 서버의 임의 파일을 읽을 수 있습니다. 버전 7.6.4, 8.2, 9.1 이상에서 수정되었습니다.

💡 쉬운 설명

DSpace의 파일 압축 풀기 기능이 폴더 경계를 검증하지 않아, 시스템 파일을 읽을 수 있습니다. 관리자만 사용하는 기능이므로 신뢰할 수 없는 압축 파일 가져오기가 위험합니다.

🇺🇸 원문 (English)

DSpace open source software is a repository application which provides durable access to digital resources. Prior to versions 7.6.4, 8.2, and 9.1, a path traversal vulnerability is possible during the import of an archive (in Simple Archive Format), either from command-line (`./dspace import` command) or from the "Batch Import (Zip)" user interface feature. An attacker may craft a malicious Simple Archive Format (SAF) package where the `contents` file references any system files (using relative traversal sequences) which are readable by the Tomcat user. If such a package is imported, this will result in sensitive content disclose, including retrieving arbitrary files or configurations from the server where DSpace is running. The Simple Archive Format (SAF) importer / Batch Import (Zip) is only usable by site administrators (from user interface / REST API) or system administrators (from command-line). Therefore, to exploit this vulnerability, the malicious payload would have to be provided by an attacker and trusted by an administrator (who would trigger the import). The fix is included in DSpace 7.6.4, 8.2 and 9.1. For those who cannot upgrade immediately, it is possible to manually patch the DSpace backend. (No changes are necessary to the frontend.) A pull request exists which can be used to patch systems running DSpace 7.6.x, 8.x or 9.0. Although it is not possible to fully protect the system via workarounds, one may can apply a best practice. Administrators must carefully inspect any SAF archives (they did not construct themselves) before importing, paying close attention to the `contents` file to validate it does not reference files outside of the SAF archives.

📍 영향받는 시스템

DSpace 7.6.3 이하, 8.0-8.1, 9.0 (수정: 7.6.4+, 8.2+, 9.1+)

⚔️ 공격 벡터

../ 경로 순회 시퀀스를 포함한 SAF 패키지 contents 파일을 관리자가 가져올 때 서버의 민감 파일 노출

🛡️ 대응 방법

DSpace를 수정된 버전(7.6.4, 8.2, 9.1 이상)으로 업그레이드하거나 공식 패치 적용, SAF 아카이브 가져오기 전 contents 파일 검증

🔧 검증 코드

DSpace 설정 파일에서 버전을 확인하여 취약 버전(7.6 이하, 8.0-8.1, 9.0)이면 VULNERABLE, 그 외면 UNKNOWN 표시

Shell / Script
grep -r 'version' /opt/dspace/etc/dspace.cfg 2>/dev/null | grep -E '7\.[0-6]|8\.[0-1]|9\.0' && echo 'VULNERABLE' || echo 'UNKNOWN'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:L

💻 영향받는 소프트웨어

Apache Tomcat