SecurityContext

CVE-2023-25579: Nextcloud - Path Traversal

  • Cve: CVE-2023-25579
  • Name: Nextcloud - Path Traversal
  • 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.
  • Impact: Attackers can create or overwrite files outside their own space, leading to data tampering and potential data loss or privacy breaches.
  • Remediation: Upgrade to versions 25.0.2, 24.0.8, or 23.0.12.
  • Vulnerability type: path_traversal
  • Vulnerability impact: data_tampering, file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00505
  • Epss percentile: 0.43744
  • Assignee: [email protected]
  • Published at: 2023-02-22T19:15:11Z
  • Age in days: 1371
  • Modified at: 2026-06-17T05:41:32Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-25579
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Hackerone

  • Reports: 1
  • Rank: 5211

References

UrlSourceTags
https://github.com/nextcloud/server/pull/35074nvdPatch
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-273v-9h7x-p68vnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
nextcloud:nextcloud_server>= 25.0.0, < 25.0.2; >= 24.0.0, < 24.0.8; < 23.0.12; >= 23.0.0, < 23.0.12; >= 22.2.0, < 22.2.10; >= 21.0.0, < 21.0.9; >= 20.0.0, < 20.0.14nonvd/v1/products/nextcloud/nextcloud_server

Projects

RepositoryLink kindsIndexedUrl
nextcloud/serverpullyes/v1/repositories/nextcloud/server
nextcloud/security-advisoriessecurity_advisoryyes/v1/repositories/nextcloud/security-advisories

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 110639
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since