Funny thing at work, I was handling some legacy users - we need to make sure that on the next login, if they have a weak password, they have to change it.

So the whole day I’m typing “123” as a password, 123 123 123 123 all good. So finally I’m done and now I’m testing it, and accidentally I type 1234 instead of just 123. Doesn’t really matter, either is “weak”, so I just click “Login”.

Then goes Chrome, “1234 is known as a weak password, found in breaches, you should change it”.

So TIL 123 is still good.

  • dev_null@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    2 days ago

    My guess would be that the password checking feature has a minimum character limit of 4 characters, to avoid false positives on things that aren’t actually passwords.

  • TootSweet@lemmy.world
    link
    fedilink
    English
    arrow-up
    24
    ·
    3 days ago

    Where I work, the infra folks are way overworked. Getting them to do things is impossible given their existing todo list. And when you do get them to do something (by throwing managers at them) they half-ass it.

    (I’m not blaming them. I blame the managers. It is frustrating though. Anyway.)

    And as a result, there’s one system that I use frequently that they set up, but cut corners and never hooked it up to our single sign-on solution. And so in order to get into this system, everyone has to use a shared username/password. “readonly:readonly”. And every time I log in, my browser nags me about the known weak password.

      • TootSweet@lemmy.world
        link
        fedilink
        English
        arrow-up
        9
        ·
        3 days ago

        I’m not sure I’ve ever tried to do any write operations. I’m honestly not even sure the service behind that login page offers any write operations. I might have to check sometime. I’m curious.

  • spongebue@lemmy.world
    link
    fedilink
    arrow-up
    20
    ·
    3 days ago

    How does the system know that an already-established password is weak if not in plain text? Or are you saying you have a set of passwords, each of which have gone through the same cipher algorithm, and see if there are any matches?

    • bamboo@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      33
      ·
      3 days ago

      On browser side implementations or extensions, they can see the input into the form field. As for plain text, generally sites will send the plaintext password over HTTPS when logging in, and it’s the server side which hashes/salts, and compares to the value in the DB. Sites can reject or inform users to bad passwords this way, generally when changing the password. Cloudflare does offer a product to do this for sites to add warnings to the user if the credentials were found in a breach. More information on that here: https://blog.cloudflare.com/privacy-preserving-compromised-credential-checking/

      • spongebue@lemmy.world
        link
        fedilink
        arrow-up
        13
        arrow-down
        1
        ·
        3 days ago

        When setting it, sure. But if we’re talking about next login, that would imply we’re talking about passwords established in the database/server.

        Then again, you do have that plaintext password available when it’s entered. Rather than checking what’s in the database, you could see what’s in the form that just triggered a successful login. That’s not as scary

        • biscuitswalrus@aussie.zone
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          edit-2
          3 days ago

          Enterprise applications are often developed by the most “quick, ship this feature” form of developers on the world. Unless the client is paying for the development a quick look at the sql table shows often unsalted passwords in a table.

          I’ve seen this in construction, medical, recruitment and other industries.

          Until cyber security requires code auditing for handling and maintaining PII as law, mostly its a “you’re fine until you get breached” approach. Even things like ACSC Australia cyber security centre, has limited guidelines. Practically worthless. At most they suggest having MFA for Web facing services. Most cyber security insurers have something but it’s also practically self reported. No proof. So if someone gets breached because someone left everyone’s passwords in a table, largely unguarded, the world becomes a worse place and the list of user names and passwords on haveibeenpwned grows.

          Edit: if a client pays and therefore has control to determine things like code auditing and security auditing etc as well as saml etc etc, then it’s something else. But say in the construction industry I’ve seen the same garbage tier software used at 12 different companies, warts and all. The developer is semi local to Australia ignoring the offshore developers…

        • hemko@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          You can have a list of hashes for known weak passwords, and compare it to hashes of the actual passwords stored.

          Or at least that’s how I think it’d work

          • pivot_root@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            3 days ago

            If the passwords were properly salted, it wouldn’t. But if they’re not salted, helloooooo rainbow tables. Or the world’s greatest crossword puzzle, like that one Adobe accidentally made. Maybe even both!

    • Aurenkin@sh.itjust.works
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      3 days ago

      You would have the plaintext password at login time based on the users input. I’m guessing that’s why it happens at login time rather than proactively asking people to update their passwords.

  • F04118F@feddit.nl
    link
    fedilink
    arrow-up
    17
    ·
    edit-2
    3 days ago

    I bet that 1234 is used more often because of the 4-character minimum, like PIN codes on debit cards. It’s 4 characters so it’s safe. 123, on the other hand, is not safe, because it is 3 characters. /s

    My solar inverter admin interface has a certain 4-digit password. So I wanted to change it to secure it, and found out that it only allows 4-digit passwords. Luckily the access point can be set up with a higher entropy password though (it is constantly advertised and had a very “secure” 8-digit password by default, I think you can guess which one)