Skip to content

CVE-2020-26251 CORS configuration is possibly vulnerable

MediumCVSS 4.7 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known

Description

Open Zaak is a modern, open-source data- and services-layer to enable zaakgericht werken, a Dutch approach to case management. In Open Zaak before version 1.3.3 the Cross-Origin-Resource-Sharing policy in Open Zaak is currently wide open - every client is allowed. This allows evil.com to run scripts that perform AJAX calls to known Open Zaak installations, and the browser will not block these. This was intended to only apply to development machines running on localhost/127.0.0.1. Open Zaak 1.3.3 disables CORS by default, while it can be opted-in through environment variables. The vulnerability does not actually seem exploitable because: a) The session cookie has a Same-Site: Lax policy which prevents it from being sent along in Cross-Origin requests. b) All pages that give access to (production) data are login-protected c) Access-Control-Allow-Credentials is set to false d) CSRF checks probably block the remote origin, since they're not explicitly added to the trusted allowlist.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
openzaak open zaak < 1.3.3 1.3.3 Fixed
open-zaak = < 1.3.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
openzaak open zaak < 1.3.3 1.3.3
open-zaak = < 1.3.3 No fix listed

References