Description (CNA)
Improper path containment check in ikus060 rdiffweb 7.1.1 allows an authenticated user to cause the browse, restore, history and delete operations to resolve to a path outside the repository being operated on, via a percent-encoded traversal sequence (%2e%2e) in the request path, because the containment check uses a string prefix comparison (startswith) instead of a filesystem path boundary check. The target must be a sibling path whose name begins with the repository path, and the user already hold permissions on it; the issue can mislead a user into operating on, or deleting, data other than the repository displayed
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| ikus-soft / rdiffweb | affected 0 before 7.1.1 |
CWE
CWE-22
References
- https://gitlab.com/ikus-soft/rdiffweb
- https://gitlab.com/ikus-soft/rdiffweb/-/work_items/392
- https://gitlab.com/ikus-soft/rdiffweb/-/work_items/393
- https://gitlab.com/ikus-soft/rdiffweb/-/work_items/394
- https://gitlab.com/ikus-soft/rdiffweb/-/commit/04b7096566811feb7d782e38560b44044fa91a29
ADP enrichment
No English description supplied.
No references supplied.