CVE-2023-25579
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.
How to fix
- nextcloud nextcloud_server23.0.12, 20.0.14, 21.0.9, 22.2.10, 24.0.8, 25.0.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nextcloud nextcloud_server | v < 23.0.12, 20.0.0 ≤ v < 20.0.14, 21.0.0 ≤ v < 21.0.9, 22.2.0 ≤ v < 22.2.10, 23.0.0 ≤ v < 23.0.12, 24.0.0 ≤ v < 24.0.8, 25.0.0 ≤ v < 25.0.2 | 23.0.12, 20.0.14, 21.0.9, 22.2.10, 24.0.8, 25.0.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.