Insufficiently Protected Credentials Affecting django-two-factor-auth package, versions [,1.12)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.1% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-DJANGOTWOFACTORAUTH-575703
  • published 12 Jul 2020
  • disclosed 12 Jul 2020
  • credit Nick Catalano, Ben Weissmann

How to fix?

Upgrade django-two-factor-auth to version 1.12 or higher.

Overview

django-two-factor-auth is a Complete Two-Factor Authentication for Django

Affected versions of this package are vulnerable to Insufficiently Protected Credentials. It stores the user's password in clear text in the user session (base64-encoded).

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.4 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    Low
  • Availability (A)
    None
Expand this section

NVD

5.4 medium