Vulnerability · Published Feb 22, 2023 · Assigned by GitHub_M
CVE-2023-25579Directory traversal in Nextcloud server
Medium 6.0
In plain English
A medium-severity path traversal in security-advisories from nextcloud. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities).
Official 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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nextcloud | security-advisories | < 23.0.12>= 24.0.0, < 24.0.8>= 25.0.0, < 25.0.2 |
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-273v-9h7x-p68v x_refsource_CONFIRM
- https://github.com/nextcloud/server/pull/35074 x_refsource_MISC