CVE-2021-21377
JSON

4.8medium

Open Redirect in OMERO.web

Severity
4.8medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.83% (higher than 58% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-g4rf-pc26-6hmrPYSEC-2021-32

Description

OMERO.web is open source Django-based software for managing microscopy imaging. OMERO.web before version 5.9.0 supports redirection to a given URL after performing login or switching the group context. These URLs are not validated, allowing redirection to untrusted sites. OMERO.web 5.9.0 adds URL validation before redirecting. External URLs are not considered valid, unless specified in the omero.web.redirect_allowed_hosts setting.

Affected

Product or packageVersionsReported by
ome omero-web< 5.9.0CVE List
omero-web (PyPI)before 5.9.0, before 952f8e5d28532fbb14fb665982211329d137908cGitHub Advisory Database, PyPA Advisory Database
openmicroscopy omero.webbefore 5.9.0NVD

All scores

GitHub_M4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD4.9medium CVSS:2.0AV:N/AC:M/Au:S/C:P/I:P/A:N

Classification

What each source says

CVE List

OMERO.web is open source Django-based software for managing microscopy imaging. OMERO.web before version 5.9.0 supports redirection to a given URL after performing login or switching the group context. These URLs are not validated, allowing redirection to untrusted sites. OMERO.web 5.9.0 adds URL validation before redirecting. External URLs are not considered valid, unless specified in the omero.web.redirect_allowed_hosts setting.

GitHub Advisory Database
Background

OMERO.web supports redirection to a given URL after performing login or switching the group context. These URLs are not validated, allowing redirection to untrusted sites. OMERO.web 5.9.0 adds URL validation before redirecting. External URLs are not considered valid, unless specified in the omero.web.redirect_allowed_hosts setting.

Impact

OMERO.web before 5.9.0

Patches

5.9.0

Workarounds

No workaround

References
For more information

If you have any questions or comments about this advisory:

NVD (es)

OMERO.web es un software de código abierto basado en Django para administrar imágenes microscópicas.&#xa0;OMERO.web versiones anteriores a 5.9.0 admite el redireccionamiento a una URL determinada después de iniciar sesión o cambiar el contexto del grupo.&#xa0;Estas URL no están comprobadas, permitiendo un redireccionamiento a sitios que no son confiables.&#xa0;OMERO.web versión 5.9.0 agrega comprobación de URL antes de redireccionar.&#xa0;Las URL Externas no se consideran válidas, a menos que se especifiquen en la configuración omero.web.redirect_allowed_hosts

References

Sources

SourceRecordLicence
CVE ListCVE-2021-21377 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-g4rf-pc26-6hmr changed 2026-07-08CC-BY-4.0
NVDCVE-2021-21377 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2021-32 changed 2023-11-08CC-BY-4.0