CVE-2022-24857
CVSS V2 Medium 6.5
CVSS V3 High 8.8
Description
django-mfa3 is a library that implements multi factor authentication for the django web framework. It achieves this by modifying the regular login view. Django however has a second login view for its admin area. This second login view was not modified, so the multi factor authentication can be bypassed. Users are affected if they have activated both django-mfa3 (< 0.5.0) and django.contrib.admin and have not taken any other measures to prevent users from accessing the admin login view. The issue has been fixed in django-mfa3 0.5.0. It is possible to work around the issue by overwriting the admin login route, e.g. by adding the following URL definition *before* the admin routes: url('admin/login/', lambda request: redirect(settings.LOGIN_URL)
Overview
- CVE ID
- CVE-2022-24857
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-04-15T19:15:12
- Last Modified Date
- 2023-02-03T17:38:14
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:django-mfa3_project:django-mfa3:*:*:*:*:*:*:*:* | 1 | OR | 0.5.0 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:S/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- SINGLE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.5
- Severity
- MEDIUM
- Exploitability Score
- 8
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 8.8
- Base Severity
- HIGH
- Exploitability Score
- 2.8
- Impact Score
- 5.9
References
Reference URL | Reference Tags |
---|---|
https://github.com/xi/django-mfa3/blob/main/CHANGES.md#050-2022-04-15 | Release Notes Third Party Advisory |
https://github.com/xi/django-mfa3/commit/32f656e22df120b84bdf010e014bb19bd97971de | Patch Third Party Advisory |
https://github.com/xi/django-mfa3/security/advisories/GHSA-3r7g-wrpr-j5g4 | Third Party Advisory |
https://security.netapp.com/advisory/ntap-20220609-0003/ |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-24857 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24857 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:26:49 | Added to TrackCVE | |||
2023-02-03 19:14:22 | 2023-02-03T17:38:14 | CVE Modified Date | updated | |
2023-02-03 19:14:22 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |