// For flags

CVE-2023-25579

Directory traversal in Nextcloud server

Severity Score

7.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2023-02-07 CVE Reserved
  • 2023-02-22 CVE Published
  • 2024-08-02 CVE Updated
  • 2024-09-14 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Nextcloud
Search vendor "Nextcloud"
Nextcloud Server
Search vendor "Nextcloud" for product "Nextcloud Server"
< 23.0.12
Search vendor "Nextcloud" for product "Nextcloud Server" and version " < 23.0.12"
-
Affected
Nextcloud
Search vendor "Nextcloud"
Nextcloud Server
Search vendor "Nextcloud" for product "Nextcloud Server"
>= 20.0.0 < 20.0.14
Search vendor "Nextcloud" for product "Nextcloud Server" and version " >= 20.0.0 < 20.0.14"
enterprise
Affected
Nextcloud
Search vendor "Nextcloud"
Nextcloud Server
Search vendor "Nextcloud" for product "Nextcloud Server"
>= 21.0.0 < 21.0.9
Search vendor "Nextcloud" for product "Nextcloud Server" and version " >= 21.0.0 < 21.0.9"
enterprise
Affected
Nextcloud
Search vendor "Nextcloud"
Nextcloud Server
Search vendor "Nextcloud" for product "Nextcloud Server"
>= 22.2.0 < 22.2.10
Search vendor "Nextcloud" for product "Nextcloud Server" and version " >= 22.2.0 < 22.2.10"
enterprise
Affected
Nextcloud
Search vendor "Nextcloud"
Nextcloud Server
Search vendor "Nextcloud" for product "Nextcloud Server"
>= 23.0.0 < 23.0.12
Search vendor "Nextcloud" for product "Nextcloud Server" and version " >= 23.0.0 < 23.0.12"
enterprise
Affected
Nextcloud
Search vendor "Nextcloud"
Nextcloud Server
Search vendor "Nextcloud" for product "Nextcloud Server"
>= 24.0.0 < 24.0.8
Search vendor "Nextcloud" for product "Nextcloud Server" and version " >= 24.0.0 < 24.0.8"
-
Affected
Nextcloud
Search vendor "Nextcloud"
Nextcloud Server
Search vendor "Nextcloud" for product "Nextcloud Server"
>= 24.0.0 < 24.0.8
Search vendor "Nextcloud" for product "Nextcloud Server" and version " >= 24.0.0 < 24.0.8"
enterprise
Affected
Nextcloud
Search vendor "Nextcloud"
Nextcloud Server
Search vendor "Nextcloud" for product "Nextcloud Server"
>= 25.0.0 < 25.0.2
Search vendor "Nextcloud" for product "Nextcloud Server" and version " >= 25.0.0 < 25.0.2"
-
Affected
Nextcloud
Search vendor "Nextcloud"
Nextcloud Server
Search vendor "Nextcloud" for product "Nextcloud Server"
>= 25.0.0 < 25.0.2
Search vendor "Nextcloud" for product "Nextcloud Server" and version " >= 25.0.0 < 25.0.2"
enterprise
Affected