Description
Weborf before 1.8 contains a missing authentication and path traversal vulnerability in the WebDAV copy_move() function that allows unauthenticated remote attackers to write files outside the share. Attackers can send COPY or MOVE requests with ../ sequences in the Destination header to overwrite or relocate files writable by the server, potentially enabling code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ltworf | weborf | < 1.8 | 1.8 |
References
- https://codeberg.org/ltworf/weborf/commit/59e5a4ad23597d53ed62ce9bfc4068fd14e3fd3b patch
- https://codeberg.org/ltworf/weborf/commit/b96b39a080fe7adf465148285b243294854db2ab patch
- https://codeberg.org/ltworf/weborf/commit/16f846e63468c11299f50f852594d06fcb6fd415 patch
- https://codeberg.org/ltworf/weborf/releases/tag/1.8 release-notes
- https://codeberg.org/ltworf/weborf/src/tag/1.7/webdav.c#L461-L534 technical-description
- https://johnjean.io/advisories/weborf-unauthenticated-remote-code-execution/ third-party-advisory
- VulnCheck Advisory: Weborf before 1.8 Unauthenticated Path Traversal via WebDAV COPY/MOVE third-party-advisory