CVE-2023-25579

Medium

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.

SeverityMedium
CVSS6.0
Exploit probability—
ProductNextcloud Server
PublishedFeb 22, 2023
First seenFeb 22, 2023

How to fix

Update
  • nextcloud nextcloud_server23.0.12, 20.0.14, 21.0.9, 22.2.10, 24.0.8, 25.0.2 or later

Affected products

ProductAffected versionsFixed in
nextcloud nextcloud_serverv < 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.223.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2023-25579 · Nextcloud Server · Dark Radar