🔍 CVE-2025-53621

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

🇰🇷 한글 설명

DSpace 리포지토리 소프트웨어의 XML 외부 엔티티(XXE) 취약점으로, 아카이브 가져오기 기능과 외부 서비스 연동 시 외부 엔티티가 비활성화되지 않습니다. 악의적인 XML 파일을 통해 공격자가 임의 파일 읽기나 민감한 정보 유출을 유발할 수 있습니다.

💡 쉬운 설명

DSpace에서 파일을 가져올 때 악의적인 XML 파일을 사용하여 서버의 파일을 읽을 수 있습니다. 관리자가 의도치 않게 악의적인 아카이브를 가져올 때 공격이 발생합니다.

🇺🇸 원문 (English)

DSpace open source software is a repository application which provides durable access to digital resources. Two related XML External Entity (XXE) injection possibilities impact all versions of DSpace prior to 7.6.4, 8.2, and 9.1. External entities are not disabled when parsing XML files during import of an archive (in Simple Archive Format), either from command-line (`./dspace import` command) or from the "Batch Import (Zip)" user interface feature. External entities are also not explicitly disabled when parsing XML responses from some upstream services (ArXiv, Crossref, OpenAIRE, Creative Commons) used in import from external sources via the user interface or REST API. An XXE injection in these files may result in a connection being made to an attacker's site or a local path readable by the Tomcat user, with content potentially being injected into a metadata field. In the latter case, this may result in sensitive content disclosure, 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. Please upgrade to one of these versions. For those who cannot upgrade immediately, it is possible to manually patch the DSpace backend. One may also apply some best practices, though the protection provided is not as complete as upgrading. Administrators must carefully inspect any SAF archives (they did not construct themselves) before importing. As necessary, affected external services can be disabled to mitigate the ability for payloads to be delivered via external service APIs.

📍 영향받는 시스템

DSpace 7.6.3 이하, 8.1 이하, 9.0 이하

⚔️ 공격 벡터

악의적인 XXE 페이로드가 포함된 SAF 아카이브를 관리자가 가져오거나, 외부 서비스(ArXiv, Crossref, OpenAIRE) 응답에 삽입된 XXE 이용

🛡️ 대응 방법

DSpace를 7.6.4, 8.2, 9.1 이상으로 업그레이드하거나 수동 패치 적용 후 외부 서비스 비활성화

🔧 검증 코드

출력된 DSpace 버전이 7.6.4, 8.2, 9.1 이상이면 안전하고 그 이하이면 취약합니다.

Shell / Script
find /opt/dspace -name 'dspace-api-*.jar' 2>/dev/null | head -1 | xargs -I {} basename {} | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache Tomcat