Lucene search

K
nextcloudNextcloudGHSA-273V-9H7X-P68V
HistoryFeb 22, 2023 - 8:33 a.m.

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

2023-02-2208:33:05
github.com
88
directory traversal
validation
normalization
nextcloud server
upgrade
patch
nextcloud enterprise
hackerone
pullrequest
vulnerability
data overwrite
security advisory
support ticket

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS

0.001

Percentile

39.8%

Description

Impact

OC\Files\Node\Folder::getFullPath() is validating and normalizing the string in the wrong order.

The function seems to be used in newFile() and newFolder() items, allowing to create paths outside of ones own space and overwriting data from other users.

Patches

It is recommended that the Nextcloud Server is upgraded to 25.0.2, 24.0.8, 23.0.12,
It is recommended that the Nextcloud Enterprise Server is upgraded to 25.0.2, 24.0.8, 23.0.12, 22.2.10.10, 21.0.9.10, 20.0.14.12

Workarounds

No workaround available

References

For more information

If you have any questions or comments about this advisory:

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS

0.001

Percentile

39.8%

Related for GHSA-273V-9H7X-P68V