Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in rdiffweb
What fixes it
- 7.1.1rdiffwebCVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
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
Text from CVE List
Affected versions 1
- rdiffwebaffected: all versions before 7.1.1CVE List
References 5
- gitlab.com/ikus-soft/rdiffweb/-/commit/04b7096566811feb7d782e38560b44044fa91a29Fixvia CVE List
- gitlab.com/ikus-soft/rdiffwebReferencevia CVE List
- gitlab.com/ikus-soft/rdiffweb/-/work_items/392Referencevia CVE List
- gitlab.com/ikus-soft/rdiffweb/-/work_items/393Referencevia CVE List
- gitlab.com/ikus-soft/rdiffweb/-/work_items/394Referencevia CVE List