CVE-2023-25579
6.0medium
Directory traversal in Nextcloud server
- Severity
- 6.0medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.51% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nextcloud security-advisories | < 23.0.12, >= 24.0.0, < 24.0.8, >= 25.0.0, < 25.0.2 | CVE List |
| nextcloud nextcloud_server | before 23.0.12, from 20.0.0 before 20.0.14, from 21.0.0 before 21.0.9, from 22.2.0 before 22.2.10, from 23.0.0 before 23.0.12, from 24.0.0 before 24.0.8, from 25.0.0 before 25.0.2 | NVD |
All scores
| GitHub_M | 6.0medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-25579 changed 2025-03-10 | CVE Terms of Use |
| NVD | CVE-2023-25579 changed 2026-06-17 | Public domain |