open-zaak: Open Zaak: Path traversal / arbitrary server-file read via Documenten API document import (bestandspad)
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
Open Zaak is an open-source data and services layer for Dutch case-oriented working. From 1.13.0 until 1.27.2, 1.28.2, and 1.29.0, _import_document_row in src/openzaak/components/documenten/tasks.py uses the attacker-controlled bestandspad CSV field without ensuring that the resolved path remains under IMPORT_DOCUMENTEN_BASE_DIR. A client with an all-authorizations application token can supply an absolute or parent-traversal path to a file readable by the Celery service account. The worker copies that file into document storage, allowing its contents to be retrieved through the normal document download API and exposing server secrets or other private files. This issue is fixed in versions 1.27.2, 1.28.2, and 1.29.0.
Text from CVE List
Affected versions 2
- open-zaakaffected: >= 1.13.0, < 1.27.2CVE List
- open-zaakaffected: >= 1.28.0, < 1.28.2CVE List
References 7
- github.com/open-zaak/open-zaak/commit/4b23957b55ab792bc2ba1fbc5ce6918881b62ab8Fixvia CVE List
- github.com/open-zaak/open-zaak/commit/69c78ce2a0edb45bec8809bc2205585c5f8a4054Fixvia CVE List
- github.com/open-zaak/open-zaak/commit/8acd5e59e0132aa19284bf22f7b3defca279e2ceFixvia CVE List
- github.com/open-zaak/open-zaak/releases/tag/1.27.2Fixvia CVE List
- github.com/open-zaak/open-zaak/releases/tag/1.28.2Fixvia CVE List
- github.com/open-zaak/open-zaak/releases/tag/1.29.0Fixvia CVE List
- github.com/open-zaak/open-zaak/security/advisories/GHSA-x5cj-23hr-5r54Exploitvia CVE List