Vulnerability Details : CVE-2022-31194
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.
Vulnerability category: Directory traversal
Products affected by CVE-2022-31194
- cpe:2.3:a:duraspace:dspace:*:*:*:*:*:*:*:*
- cpe:2.3:a:duraspace:dspace:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-31194
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 31 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-31194
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
1.2
|
5.9
|
NIST | |
8.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:H |
2.3
|
5.3
|
GitHub, Inc. |
CWE ids for CVE-2022-31194
-
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Assigned by: security-advisories@github.com (Primary)
References for CVE-2022-31194
-
https://github.com/DSpace/DSpace/commit/d1dd7d23329ef055069759df15cfa200c8e3
[DS-4132] JPSUI resumable upload dir validation · DSpace/DSpace@d1dd7d2 · GitHubPatch;Third Party Advisory
-
https://github.com/DSpace/DSpace/security/advisories/GHSA-qp5m-c3m9-8q2p
Path traversal vulnerabilities in JSPUI submission (resumable) upload · Advisory · DSpace/DSpace · GitHubPatch;Third Party Advisory
-
https://github.com/DSpace/DSpace/commit/7569c6374aefeafb996e202cf8d631020eda5f24
[DS-4132] Fix JSPUI resumable upload path traversal · DSpace/DSpace@7569c63 · GitHubPatch;Third Party Advisory
Jump to