CVE-2022-31194
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account. High risk of service disruption.
- Exploit odds
- 1.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.5% in the next 30 days (EPSS).
- Severity: 8.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.5% · EPSS, next 30 days
- Weakness
- CWE-22 · Path traversal
- Record status
- Modified
Affected
- Duraspace Dspace ≤ 5.10
- Duraspace Dspace < 6.4
Attack profile CVSS 3.1 · 8.2
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-31194.md and follow it. Check whether this project is affected by CVE-2022-31194. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- 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
- 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
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
- 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