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 package | Versions | Reported by |
|---|---|---|
| ome omero-web | < 5.9.0 | CVE List |
| omero-web (PyPI) | before 5.9.0, before 952f8e5d28532fbb14fb665982211329d137908c | GitHub Advisory Database, PyPA Advisory Database |
| openmicroscopy omero.web | before 5.9.0 | NVD |
All scores
| GitHub_M | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.9medium CVSS:2.0 | AV: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. 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. Estas URL no están comprobadas, permitiendo un redireccionamiento a sitios que no son confiables. OMERO.web versión 5.9.0 agrega comprobación de URL antes de redireccionar. Las URL Externas no se consideran válidas, a menos que se especifiquen en la configuración omero.web.redirect_allowed_hosts
References
| https://pypi.org/project/omero-web/ | package, third-party-advisory | |
| https://github.com/ome/omero-web/blob/master/CHANGELOG.md#590-march-2021 | release-notes, third-party-advisory, web | |
| https://github.com/ome/omero-web/commit/952f8e5d28532fbb14fb665982211329d137908c | fix, patch, third-party-advisory, web | |
| https://github.com/ome/omero-web/security/advisories/GHSA-g4rf-pc26-6hmr | advisory, third-party-advisory, web | |
| https://www.openmicroscopy.org/security/advisories/2021-SV2/ | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-21377 | advisory | |
| https://github.com/ome/omero-web | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/omero-web/PYSEC-2021-32.yaml | web | |
| https://pypi.org/project/omero-web | web | |
| https://www.openmicroscopy.org/security/advisories/2021-SV2 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21377 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-g4rf-pc26-6hmr changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-21377 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2021-32 changed 2023-11-08 | CC-BY-4.0 |