Description
DSpace open source software is a repository application which provides durable access to digital resources. dspace-jspui is a UI component for DSpace. The JSPUI resumable upload implementations in SubmissionController and FileUploadRequest are vulnerable to multiple path traversal attacks, allowing an attacker to create files/directories anywhere on the server writable by the Tomcat/DSpace user, by modifying some request parameters during submission. This path traversal can only be executed by a user with special privileges (submitter rights). This vulnerability only impacts the JSPUI. Users are advised to upgrade. There are no known workarounds. However, this vulnerability cannot be exploited by an anonymous user or a basic user. The user must first have submitter privileges to at least one Collection and be able to determine how to modify the request parameters to exploit the vulnerability.
Remediation
References
https://github.com/DSpace/DSpace/commit/7569c6374aefeafb996e202cf8d631020eda5f24
https://github.com/DSpace/DSpace/commit/d1dd7d23329ef055069759df15cfa200c8e3
https://github.com/DSpace/DSpace/security/advisories/GHSA-qp5m-c3m9-8q2p
Related Vulnerabilities
CVE-2017-5617 Vulnerability in maven package com.metsci.ext.com.kitfox.svg:svg-salamander
CVE-2019-8331 Vulnerability in maven package org.webjars.bowergithub.angular-ui:bootstrap
CVE-2018-8039 Vulnerability in maven package org.apache.cxf:cxf-rt-transports-http
CVE-2022-27260 Vulnerability in npm package buttercms
CVE-2013-6448 Vulnerability in maven package org.jboss.seam:jboss-seam-remoting