Skip to main content
← All vulnerabilities
CVE-2023-25579

Directory traversal in Nextcloud server

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 23.0.12, 24.0.8, 25.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • nextcloud security-advisories

    fixed in 23.0.12; From 24.0.0 · fixed in 24.0.8; From 25.0.0 · fixed in 25.0.2

References 2

GitHub · nextcloud/security-advisories

GitHub · nextcloud/server