PT-2022-13487 · Unknown+1 · Django-Spirit+1
Published
2022-03-06
·
Updated
2022-03-11
·
CVE-2022-0869
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
spirit versions prior to 0.12.3
django-spirit versions prior to 0.12.3
Description
The issue is related to multiple open redirects in the GitHub repository. Specifically, the /user/login endpoint does not check the value of the
next parameter when the user is logged in, passing it directly to redirect, resulting in an open redirect. This also affects the /user/logout, /user/register, and /user/resend-activation endpoints.Recommendations
For spirit versions prior to 0.12.3, update to version 0.12.3 or later.
For django-spirit versions prior to 0.12.3, update to version 0.12.3 or later.
As a temporary workaround, consider restricting access to the vulnerable endpoints, such as /user/login, /user/logout, /user/register, and /user/resend-activation, until a patch is available.
Avoid using the
next parameter in the affected API endpoints until the issue is resolved.Exploit
Fix
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Django-Spirit
Spirit