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.…

    • blueberry_793@lemmings.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months 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.

    • midribbon_action@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      This is terrible advice, even if I assume you are also using a key-file on a removable usb. An attacker can brute force decrypt your db. There is no rate limiting when you literally have the database file, they could replicate it across thousands of servers each with dozens of cores, each core trying a dozen keyphrases per second. That’s assuming a motivated attacker like a government or crypto scammers, but why open yourself to that possibility?

    • oong3Eepa1ae1tahJozoosuu@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months 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.

        • oong3Eepa1ae1tahJozoosuu@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          3 months ago

          I see. For this scenario, I have another Syncthing server, which is on 24/7, responsible for offsite backups.

          Ad encrypted files: true, but why expose them to a potential adversary? If there should be a flaw in the encryption (now or future) the other party already has access to the file.

    • tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months 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
        0
        ·
        3 months 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
      0
      ·
      edit-2
      3 months 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
        0
        ·
        3 months 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.

      • Auli@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months ago

        Well if you decrypt the blob on the server they can see it.

      • underisk@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months 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
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          3 months 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 they “cannot see your passwords”.

          • underisk@lemmy.ml
            link
            fedilink
            English
            arrow-up
            0
            ·
            3 months 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.

  • ryper@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months 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.

    • Clent@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      And glosses over what it claims are the two that dominate market (combined market share of 55%) which negates their headline, since it’s likely the reader is using one of those two password managers.

      Source

      • myserverisdown@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months ago

        No. Because the very nature of passwords and password managers make you immeasurably safer than not using one at all. Password managers in almost all markets detect password compromises and alert you to change them. Doing so is trivial and as long as you catch it in time, you’re much safer and harder to target than almost any other user.

        Passwords are like physical locks. Its not about being unpickable or indestructible. Its mostly about raising the barrier of entry high enough that you are an unappealing target. Why would I spend days/weeks/months trying to crack the account of someone using a random string of 14 characters unique to every service and that can change their password within hours or days–when I could instead gain remote access to hundreds of other users that keep a ‘passwords.doc’ file in ~/documents with open permissions? They likely use passwords like ‘Snoopdog2004$’ so they’re easy to brute force, they won’t notice incursions, and can’t easily change passwords that are shared between multiple services.

    • tatterdemalion@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      Or if you have like $5/mo to spend on a VPS, self-host vaultwarden. It’s compatible with the bitwarden apps and browser plugins.

    • Petter1@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months 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
        0
        ·
        3 months 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.

  • just_another_person@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    You take the good, you take the bad, you take them both and there you have The facts of life, the facts of life.

    There’s a time you got to go and show You’re growin’ now you know about The facts of life, the facts of life.

    When the world never seems to be livin up to your dreams And suddenly you’re finding out the facts of life are all about you, you.

  • melsaskca@lemmy.ca
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Let’s expand that specifically generic headline. "“You probably can’t trust anything if it’s been compromised”. More extra non-news at eleven.

  • DigDoug@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months 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
      0
      ·
      3 months 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?

      • DigDoug@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months 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
          0
          ·
          3 months 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
            0
            ·
            3 months 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.

      • thyristor@lemmy.pt
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months 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
          0
          ·
          3 months 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
          0
          ·
          3 months 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.

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

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

    • COASTER1921@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months 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
        0
        ·
        3 months ago

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

        • W98BSoD@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          0
          ·
          3 months 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
      0
      ·
      3 months ago

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

      • Bazoogle@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        3 months ago

        I don’t think it should be disappointing. Bitwarden welcomes third party security testing, especially given it is open source. The tests done were just tests, and the issues were already fixed.

        • eodur@piefed.social
          link
          fedilink
          English
          arrow-up
          0
          ·
          3 months ago

          Yeah, after seeing their response I’m quite satisfied. They’re one of the good guys and I hope it stays that way.

  • shortwavesurfer@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

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

  • redbrick@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    People really use these apps? I mean…here are all my passwords? …just like that?

    Hell, my kids tutor wanted my bank account to withdraw each month. I said, ‘fuck no…not unless we’re banging each other every night with a prenup!’