CVE-2021-21377: OMERO webclient does not validate URL redirects on login or switching group.
4.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53982%
CWE
Published
3/23/2021
Updated
10/8/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
omero-web | pip | < 5.9.0 | 5.9.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from missing URL validation in redirect handling. The commit added validate_redirect_url() checks in both handle_logged_in (login flow) and change_active_group (group switching). These functions previously passed through user-controlled URLs without validation. The patch explicitly modifies these entry points to add security checks using Django's is_safe_url, confirming they were the vulnerable locations.