cross-posted from: https://infosec.pub/post/42164102

Researchers demo weaknesses affecting some of the most popular options Academics say they found a series of flaws affecting three popular password managers, all of which claim to protect user credentials in the event that their servers are compromised.…

    • Lena@gregtech.eu
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 hours ago

      These password managers claim your passwords are secure, even if their servers get compromised, which is what is expected from a security standpoint. But that is apparently not the case.

      • underisk@lemmy.ml
        link
        fedilink
        English
        arrow-up
        21
        ·
        9 hours ago

        BW06: Icon URL Item Decryption. Items can include a URL field, which is used to autofill the credentials and display an icon on the client. The client decrypts the URL and fetches the icon from the server, including in its request the domain and top-level domain of the URL. For instance, if the URL is “https://host.tld/path”, the client request includes “host.tld”. This means that the adversary can learn (part of) the con- tents of URL fields. Using Attack BW05, an adversary can place the ciphertext of sensitive item fields, such as a user- name or a password, in the encrypted URL field. After fetch- ing the item, the client will then decrypt the ciphertext, confus- ing it for a URL. If the plaintext satisfies some conditions (i.e. containing a ‘.’ and no !), it will be leaked to the adversary. A URL checksum feature was deployed in July 2024, mak- ing the clients store a hash of the URL in another encrypted item field, therefore providing a rudimentary integrity check and preventing this attack. Note that old items are never up- dated to add such a checksum: this feature only protects items created after its introduction. Furthermore, URL checksums are only checked if a per-item key is present for the item. As we will see, an adversary can prevent per-item keys from being enabled with Attack BW10.

        IMPACT. The adversary can recover selected target ciphertexts in the item, such as the username or the password.

        REQUIREMENTS. The user opens a vault containing items that do not use per-item keys (i.e., items created before July 2024, or after Attack BW10 is run). The target plaintext must satisfy some additional conditions, detailed in Appendix

        from the paper the article is discussing

        So you could potentially expose your passwords to a compromised server or some kind of MITM. If they meet the conditions for the validation check, anyway.

        • unhrpetby@sh.itjust.works
          cake
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 hours ago

          My comment was to answer the question of: “Why is this relevant?” (Its been asked a lot). It’s relevant because Bitwarden is claiming that the they “cannot see your passwords”.

          • underisk@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            ·
            5 hours ago

            I didn’t think you were making the post to defend Bitwarden or something. I was just adding the details of one of the exploits the paper found that directly contradicted their claim.

    • floofloof@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      55
      arrow-down
      1
      ·
      14 hours ago

      Well the specific point here is that these companies claim that a server hack won’t reveal your passwords since they’re encrypted and decrypted on your local device so the server only sees the encrypted version. Apparently this isn’t completely true.

      • philpo@feddit.org
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 hours ago

        At the point someone pulls off a valid MIM attack - which is basically a requirement here unless the whole BW/Vaultwarden server gets compromised- that is the least of someones problems. MIMs are incredibily hard these days.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      39
      arrow-down
      1
      ·
      14 hours ago

      Yeah, the title there really doesn’t reflect the article text. It should be “you probably can’t trust your password manager if the remote servers it uses are compromised”.

      • hummingbird@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        5 hours ago

        That would be an understatement since all services claim your data is safe even in that case which is not true.

    • floofloof@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      18
      ·
      edit-2
      12 hours ago

      Yes, although it sounds like they haven’t finished fixing some of them:

      All issues have been addressed by Bitwarden. Seven of which have been resolved or are in active remediation by the Bitwarden team. The remaining three issues have been accepted as intentional design decisions necessary for product functionality.

      Edit: There’s more information about the specific threats and remediation steps in the PDF report linked at the end of the Bitwarden blog post:

      https://bitwarden.com/assets/Kki4W785JIPOdFj6EeWB5/1e74e924febb4c6a5ad03eed23b92d23/pwmgr_paper__1_-combinedÂ__1_.pdf

      • AliasAKA@lemmy.world
        link
        fedilink
        English
        arrow-up
        17
        ·
        10 hours ago

        Looking through, it seems like for the most part these are very niche and/or require the user to be using SSO or enterprise recovery options and/or try to change and rotate keys or resync often. I think few people using this for personal would be interacting with that attack surface or accepting organizational invites, but it is serious for organizations (probably why they’re trying quickly to address this).

        Honestly I think a server being incognito controlled and undetected in bitwardens fleet while also performing these attacks is, unlikely? Certainly less likely than passwords being stolen from individual site hacks or probably even banks. Like at that point, it would just be easier to do these types of manipulations directly on bank accounts or crypto wallets or email accounts than here, but then again, if you crack a wallet like this you get theoretically all the goodies to those too I suppose, for a possibly short time (assuming the user wasn’t using 2FA that wasn’t email based as well).

        Not to mitigate these issues. They need to fix them, just trying to ascertain how severe and if individual users should have much cause for concern.

        • ArrowMax@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 hour ago

          Regarding a malicious server acting under Bitwarden’s fleet: As I see it, the most vulnerable target would be an organization’s self-hosted Bitwarden server.

  • ryper@lemmy.ca
    link
    fedilink
    English
    arrow-up
    72
    ·
    14 hours ago

    Since the summary doesn’t say which three popular password managers:

    As one of the most popular alternatives to Apple and Google’s own password managers, which together dominate the market, the researchers found Bitwarden was most susceptible to attacks, with 12 working against the open-source product. Seven distinct attacks worked against LastPass, and six succeeded in Dashlane.

    • Petter1@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      11
      ·
      12 hours ago

      Yess!
      I store the keepass vault on my nextcloud
      On iOS and macOS, I use Strongbox pro (one time purchase), as it integrates beautifully into the apple ecosystem using its APIs.
      On linux and windows free KeepassXC with browser plug-ins
      On Android I use the free keePassDX which, like strongbox, uses the android APIs for passwords

      • lightnsfw@reddthat.com
        link
        fedilink
        English
        arrow-up
        5
        ·
        9 hours ago

        Same. My password database never touches a server I don’t own and my keyfile is manually copied between my devices and stored separately from the database file.

    • COASTER1921@lemmy.ml
      link
      fedilink
      English
      arrow-up
      53
      ·
      12 hours ago

      These attacks are more around the encryption and all require a fully malicious server. It sounds like Bitwarden is taking these seriously and personally I’d still strongly prefer it to any closed source solution where there could be many more unknown but undiscovered security concerns.

      Using a local solution is always most secure, but imo you should first ask yourself if you trust your own security practices and whether you have sufficient hardware redundancy to be actually better. I managed to lose the private key to some Bitcoin about a decade ago due to trying to be clever with encryption and local redundant copies.

      Further, with the prevalence of 2FA even if their server was somehow fully compromised as long as you use a different authenticator app than Bitwarden you’re not at major risk anyways. With how poorly the average person manages their password security this hurdle alone is likely enough to stop all but attacks targeted specifically at you as an individual.

      • chocrates@piefed.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        12 hours ago

        I don’t have the self hosting maturity to share my db across my devices yet. I need to get on that.

        • philpo@feddit.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 hours ago

          Personal recommendation: Start with a selfhosting support software like Casa, Yuno or (my recommendation) Cloudron. Start hosting the app there with frequent backups and occasionally export into regular Bitwarden as a failsafe.

          And when you are comfortable switch over to properly self hosted Vaultwarden.

        • W98BSoD@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          10
          arrow-down
          1
          ·
          10 hours ago

          If it’s critical, don’t self host it. It’s not worth it.

          I know people will argue; I just need something that works and that I don’t have to worry about patching.

    • eodur@piefed.social
      link
      fedilink
      English
      arrow-up
      7
      ·
      12 hours ago

      Thats really disappointing. At least the selfhosted version means it would have to be a heavily targeted attack.

  • Keepass, upload the database file to random free cloud accounts after making changes to the database.

    This is foulproof as long as the end-user device doesn’t get hacked, right?

    Edit: Did I say something wrong? Why downvotes? Database file are encrypted, even if someone gets it, its encrypted and they don’t have your password.

    So its basically safe to upload your database. If you think I’m wrong then explain why I can’t use free cloud accounts to store an encrypted file?

    • oong3Eepa1ae1tahJozoosuu@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      Why would you do that? Just sync thr database with Syncthing and keep it locally on your devices. I’d never put my pw dB in a publicly available cloud online, even though it’s encrypted.

      • For backup.

        So all of my hard drives and devices are in the same house, if I was sleeping and and house caught on fire and I couldn’t even get my phone in time (just a worst case example), then I lose all my passwords.

        Cloud is my “offsite backup”. Cuz where else would I put stuff?

        Also: I though you could just safely upload encrypted files to Google Drive, why not a password database? It’s just another encrypted file.

    • blueberry_793@lemmings.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 hours ago

      Yes and no. You can store them in a free cloud account, provided you have local copies; there’s a risk your access to the cloud storage could be denied. A security risk is that they could harvest these databases, and decrypt them later.

      I think your best bet, if you were to use free services, is to delete old databases from the cloud. Encrypt the new databases with the updated password manager and a new master password.

  • DigDoug@lemmy.world
    link
    fedilink
    English
    arrow-up
    18
    arrow-down
    5
    ·
    13 hours ago

    I know they’re convenient, but people should really stop using cloud-based password managers and start using local ones. I personally recommend KeepassXC.

    • fonix232@fedia.io
      link
      fedilink
      arrow-up
      9
      ·
      12 hours ago

      How do you recommend people sync between devices? What about devices that, for security reasons, do not allow flash drives or any external device to be plugged in?

      • thyristor@lemmy.pt
        link
        fedilink
        English
        arrow-up
        4
        ·
        12 hours ago

        I have my keepass file in a samba share on my raspberry pi running wireguard. But it’s easier just using nextcloud. Anyway, the file is encrypted.

        • fonix232@fedia.io
          link
          fedilink
          arrow-up
          3
          ·
          10 hours ago

          At that point, why bother with the setup of samba shares and nextcloud or syncthing or whatever else and not use VaultWarden with its built in sync over WireGuard/TailScale?

        • cecilkorik@piefed.ca
          link
          fedilink
          English
          arrow-up
          3
          ·
          9 hours ago

          Sadly this functionality is not included in KeepassXC, so I continue to use the original Keepass for this reason, but I agree, my setup is the same and I’m very happy with it.

      • DigDoug@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        12 hours ago

        You could use Github or similar. Your password file itself requires a password, so as long as the passwords are different you aren’t screwed if Github is compromised.

        Either that or you could keep it on your phone and type your password in manually - Keepass lets you generate passphrases which makes typing them a lot easier.

        Or you could store it on your own server and VPN in if you’re allowed to. It’s all pretty flexible.

        • fonix232@fedia.io
          link
          fedilink
          arrow-up
          3
          arrow-down
          2
          ·
          10 hours ago

          So, absolutely no difference in security compared to having a properly secured self-hosted VaultWarden instance. Gotcha.

          • DigDoug@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            arrow-down
            2
            ·
            9 hours ago

            In the niche situation of not being allowed to connect USB drives to the computer you’re using? I guess.

            There’s nothing stopping you from keeping it on an offline device and typing them in manually.

    • Petter1@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      3
      ·
      12 hours ago

      And keepass is perfectly cloud ready by placing the kdbx file into your cloud storage and sync using webDav or similar.

  • shortwavesurfer@lemmy.zip
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    3
    ·
    13 hours ago

    I store my passwords on a flash drive with KeepassXC. How about you compromise that server… Oh wait a minute, no server?