Path Traversal in Nextcloud Server
CVE-2023-25579
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.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.005 (40.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.0 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L.
Affected products
- Nextcloud Nextcloud_server
- Nextcloud Security-advisories — versions < 23.0.12, >= 24.0.0, < 24.0.8, >= 25.0.0, < 25.0.2
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2023-25579?
- CVE-2023-25579 is a medium-severity vulnerability in Nextcloud Server, classified under Path Traversal. CVSS score: 6.0/10. Published 2023-02-22.
- How severe is CVE-2023-25579?
- Medium severity. CVSS v3 base score is 6.0 out of 10.