Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-24357

Improve PasswordClass hash algorithm

    XMLWordPrintable

Details

    • Unknown

    Description

      XWiki stores user passwords using a single iteration of SHA-512 with a unique random salt. SHA512 is not
      suitable for storing passwords. Instead Argon2id, scrypt, bcrypt, or PBKDF2 should be used.

      Risk
      Cracking salted SHA512 hashes on modern GPUs has become a viable attack scenario. If the password hashes are
      ever leaked an attacker could brute-force them given enough time and resources.

      Proof

       

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              oana.tabaranu Elena-Oana Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: