Path traversal in Nextcloud Server and Enterprise Server



Published: 2023-02-22
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-25579
CWE-ID CWE-22
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Nextcloud Server
Client/Desktop applications / Messaging software

Nextcloud Enterprise Server
Client/Desktop applications / Messaging software

Vendor Nextcloud

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Path traversal

EUVDB-ID: #VU72495

Risk: Medium

CVSSv3.1: 4.8 [CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-25579

CWE-ID: CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in OC\Files\Node\Folder::getFullPath. A remote user can send a specially crafted HTTP request and overwrite arbitrary files on the system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Nextcloud Server: 23.0.0 - 25.0.1

Nextcloud Enterprise Server: 20.0.14.0 - 25.0.1

CPE2.3 External links

http://github.com/nextcloud/security-advisories/security/advisories/GHSA-273v-9h7x-p68v


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###