CVE-2023-25579 MEDIUM

CVE-2023-25579: Directory traversal in Nextcloud server

Vendor Nextcloud
Product security-advisories
Weakness CWE-22 · Path traversal
Published February 22, 2023
Last update March 10, 2025

CVSS base score

6.0/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

Nextcloud server is a self hosted home cloud product. In affected versions the `OC\Files\Node\Folder::getFullPath()` function was validating and normalizing the string in the wrong order. The function is used in the `newFile()` and `newFolder()` items, which may allow to creation of paths outside of ones own space and overwriting data from other users with crafted paths. This issue has been addressed in versions 25.0.2, 24.0.8, and 23.0.12. Users are advised to upgrade. There are no known workarounds for this issue.

Key dates

02Disclosure timeline

February 22, 2023 CVE published
March 10, 2025 Record updated