CVE-2020-26251
JSON

4.7medium

CORS configuration is possibly vulnerable

Severity
4.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.45% (higher than 41% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
open-zaak open-zaak< 1.3.3CVE List
openzaak open_zaakbefore 1.3.3NVD

All scores

GitHub_M4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

Open Zaak es una capa moderna de datos y servicios de código abierto que habilita a zaakgericht werken, un enfoque Dutch para la gestión de casos.&#xa0;En Open Zaak anterior a la versión 1.3.3, la política Cross-Origin-Resource-Sharing en Open Zaak está actualmente abierta: todos los clientes están autorizados.&#xa0;Esto permite que evil.com ejecutar scripts que realicen llamadas AJAX a instalaciones conocidas de Open Zaak, y el navegador no las bloqueará.&#xa0;Esto estaba destinado a ser aplicado solo a las máquinas de desarrollo que se ejecutan en localhost/127.0.0.1.&#xa0;Open Zaak versión 1.3.3 deshabilita a CORS por defecto, mientras que se puede habilitar por medio de variables de entorno.&#xa0;En realidad, la vulnerabilidad no parece explotable porque: a) La cookie de sesión tiene una política "Same-Site: Lax" que impide que se envíe en peticiones de origen cruzado. b) Todas las páginas que dan acceso a los datos (de producción) están protegidas por inicio de sesión c) "Access-Control-Allow-Credentials" se establece en "false" d) Las comprobaciones de CSRF probablemente bloquean el origen remoto, ya que no se agregan explícitamente a la lista de permitidos de confianza

References

Sources

SourceRecordLicence
CVE ListCVE-2020-26251 changed 2024-08-04CVE Terms of Use
NVDCVE-2020-26251 changed 2026-06-17Public domain