Path traversal in Nextcloud Enterprise Server and Nextcloud Server - CVE-2023-25579

 

Path traversal in Nextcloud Enterprise Server and Nextcloud Server - CVE-2023-25579

Published: February 22, 2023


Vulnerability identifier: #VU72495
CSH Severity: Medium
CVSS v4: 1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-25579
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in OC\Files\Node\Folder::getFullPath. A remote user can send a specially crafted HTTP request and overwrite arbitrary files on the system.


Affected software

Nextcloud Enterprise Server
Nextcloud Server

How to mitigate CVE-2023-25579

Install update from vendor's website.

Nextcloud Enterprise Server - addressed in versions 20.0.14.12, 21.0.9.10, 22.2.10.10, 23.0.12, 24.0.8, 25.0.2
Nextcloud Server - addressed in versions 23.0.12, 24.0.8, 25.0.2

External References

Related Security Bulletins