CVE-2023-25579 Directory traversal in Nextcloud server
HighCVSS 7.5
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nextcloud server | < 23.0.12; >= 20.0.0, < 20.0.14; >= 21.0.0, < 21.0.9; >= 22.2.0, < 22.2.10 +3 more | 20.0.14, 21.0.9, 22.2.10, 23.0.12, 24.0.8, 25.0.2 | Fixed |
| Nextcloud security-advisories | = < 23.0.12; = >= 24.0.0, < 24.0.8; = >= 25.0.0, < 25.0.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Nextcloud security-advisories | = < 23.0.12 | No fix listed |
| Nextcloud security-advisories | = >= 24.0.0, < 24.0.8 | No fix listed |
| Nextcloud security-advisories | = >= 25.0.0, < 25.0.2 | No fix listed |
| nextcloud server | < 23.0.12 | 23.0.12 |
| nextcloud server | >= 20.0.0, < 20.0.14 | 20.0.14 |
| nextcloud server | >= 21.0.0, < 21.0.9 | 21.0.9 |
| nextcloud server | >= 22.2.0, < 22.2.10 | 22.2.10 |
| nextcloud server | >= 23.0.0, < 23.0.12 | 23.0.12 |
| nextcloud server | >= 24.0.0, < 24.0.8 | 24.0.8 |
| nextcloud server | >= 25.0.0, < 25.0.2 | 25.0.2 |