7.5

CVE-2023-25579

Directory traversal in Nextcloud server

Potential directory traversal in OC\Files\Node\Folder::getFullPath

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.
Mögliche Gegenmaßnahme
Server: No workaround available
Server (Enterprise): No workaround available
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
NextcloudNextcloud Server Version < 23.0.12
NextcloudNextcloud Server SwEditionenterprise Version >= 20.0.0 < 20.0.14
NextcloudNextcloud Server SwEditionenterprise Version >= 21.0.0 < 21.0.9
NextcloudNextcloud Server SwEditionenterprise Version >= 22.2.0 < 22.2.10
NextcloudNextcloud Server SwEditionenterprise Version >= 23.0.0 < 23.0.12
NextcloudNextcloud Server Version >= 24.0.0 < 24.0.8
NextcloudNextcloud Server SwEditionenterprise Version >= 24.0.0 < 24.0.8
NextcloudNextcloud Server Version >= 25.0.0 < 25.0.2
NextcloudNextcloud Server SwEditionenterprise Version >= 25.0.0 < 25.0.2
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Weitere Schwachstelleninformationen
SystemNextcloud
Produkt Server
Version >= 0.0.0, < 23.0.12
Version >= 24.0.0, < 24.0.8
Version >= 25.0.0, < 25.0.2
SystemNextcloud App
Produkt Server (Enterprise)
Version >= 0.0.0, < 20.0.14.12
Version >= 21.0.0, < 21.0.9.10
Version >= 22.2.0, < 22.2.10.10
Version >= 23.0.0, < 23.0.12
Version >= 24.0.0, < 24.0.8
Version >= 25.0.0, < 25.0.2
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.44% 0.632
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.5 3.9 3.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
security-advisories@github.com 6 1.8 3.7
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:L
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.