Somebody isn’t sanitizing their inputs properly. Like putting a bandaid on a heart attack
Please create a non-secure password.
Submitted 10 months ago by FlyingSquid@lemmy.world to mildlyinfuriating@lemmy.world
https://lemmy.world/pictrs/image/dfe6483a-c73e-47be-b173-1be6bad4cd21.png
Comments
m_f@midwest.social 10 months ago
scrubbles@poptalk.scrubbles.tech 10 months ago
Whenever I see something like this I just laugh because you’re exactly right. Something isn’t being handled properly and their dev team just proved they don’t know how to do some basic handling. Every API library in JS and restful API I know of handle special characters. If they wanted they could base64 encode it over the wire. Then you’re exactly right, if the database “can’t handle it” more than likely it’s a home spun database connection where they’re serializing it themselves (which even then this is solvable), but even then that proves that they make poor choices.
doeknius_gloek@discuss.tchncs.de 10 months ago
if the database “can’t handle it” […] that proves that they make poor choices.
Exactly, the database should never even have to handle the password in it’s original form and hashing algorithms don’t care about hashing special characters.
SnotFlickerman@lemmy.blahaj.zone 10 months ago
This is like when I was in my twenties working at a crappy grocery store with a MoneyGram inside of it. I live in Washington state, and at the time, if your last name was less than five characters, you would have asterisk’s in your license number. The MoneyGram system wanted people’s license numbers but was unable to recognize a license with an asterisk. It happened pretty rarely, but it always happened to people whose last names were four characters or less long. Five letters in your last name and you were gold.
Anyway, Washington changed how it generates license numbers so its a moot point anyway but I don’t think MoneyGram ever spent a dime to fix this since it only affected a small number of people in one US state.
OmegaLemmy@discuss.online 10 months ago
Sometimes I wonder if I’m even fit for employment as a developer and then I see shit like this where I wonder who and what happened for this to even become an option?
dual_sport_dork@lemmy.world 10 months ago
Seems to be they’re dropping the passwords in the database in plain text, but they’re deathly afraid that someone will drop a '; in there or something and the insert will break.
Notwithstanding that storing passwords in plain text is a slapping with the 10 foot rubber chicken, but mysqli_real_escape_string() or any number of other similar solutions are indeed a thing that exists. A prepared statement would work, too.
Knossos@lemmy.world 10 months ago
friend_of_satan@lemmy.world 10 months ago
Which is ridiculous because it’s going to hash down to the same character set. There’s no way they’re storing your password with special characters unhashed, right?
m_f@midwest.social 10 months ago
One can hope 🤞
donuts@lemmy.world 10 months ago
groet@feddit.org 10 months ago
Might be a minimum of 16 chars. Or the parsing is broken and treats the ’ as the end of the password
TheTechnician27@lemmy.world 10 months ago
Fandom is gross anyway. Contributing to independent wikis is a much better use of your time. getindie.wiki
donuts@lemmy.world 10 months ago
It’s not Fandom
slazer2au@lemmy.world 10 months ago
they don’t specify a limit so 64 character password it is.
orclev@lemmy.world 10 months ago
Go all in, 1024 character password.
SanctimoniousApe@lemmings.world 10 months ago
They’ll accept it, but won’t tell you they ignored everything after character n, and their login page won’t take anything but the “correct” password so you’ll be spending some time figuring out the actual character count limit…
frezik@midwest.social 10 months ago
Bcrypt/Scrypt have a 72 byte limit. Developers can get around that by putting it through a regular hash first, but that’s not common.
stevedice@sh.itjust.works 10 months ago
My previous bank forced 8 characters with only numbers and letters.
miss_demeanour@lemmy.dbzer0.com 10 months ago
Hunter2
cm0002@lemmy.world 10 months ago
I don’t get it, why did you type all asterisks‽
Bazoogle@lemmy.world 10 months ago
What’s not to get? He made his password 7 asterisks. Funny, because it’s the same as mine.
SnotFlickerman@lemmy.blahaj.zone 10 months ago
Whats_your_reasoning@lemmy.world 10 months ago
Some months back, there was a thread here on Lemmy where people were discussing western names written using Chinese characters. Phonetically, the names will sound alike. But meaning-wise, the characters will result in a Correct Horse Battery Staple-esque string of words.
Which is why I have since decided to make passwords by typing random names into a Chinese name generator and using the English translated result.
Sounds like a lot of work, but the way I see it, trying to think of new passwords is always work so I might as well have fun with it.
cley_faye@lemmy.world 10 months ago
64 characters picked at random in
[a-zA-Z0-9_]is perfectly fine if password is your only option. Special character do not increase significantly the difficulty of bruteforcing it, but introduce the risk of having to manually type"}à.å÷Â!!ç-×ô@¸Á¢±ãÕß>>úÓ}¼º¤«<_àÅû§Æ]*ÂñçÌÿ§à®&ܱ=Ú-´ð¹é$.>=;Ö` if something goes catastrophically wrong.Duke_Nukem_1990@feddit.org 10 months ago
Not being allowed to use special characters can be a sign of the website saving your password in plain text.
cley_faye@lemmy.world 10 months ago
It can be. Or it can be someone that had to deal with users (or was trained about it) and is limiting the chances of a user being kept out because they type something that looks like their password but isn’t, and then have to go to support.
Buffalox@lemmy.world 10 months ago
Yes because if you choose 8 characters at random, with 25 small + 25 big letters and 10 numeric, it* only 60^8 = 167,961,600,000,000 combinations.
I think the problem is more if the system allow brute force with thousands of erroneous attempts.
I never got the frantic entropy mindset, when the problem is much simpler to not allow endless attempts. You can allow 50 attempts, and chances would be very slim to guess even pretty moronic passwords.stevedice@sh.itjust.works 10 months ago
Most websites don’t allow multiple failed logins and, even if they did, the network latency alone would make brute force attacks useless. The point of having a high entropy password is to protect against hackers brute forcing a leaked database of hashes. Having different passwords for every website also protects against this so, as usual, the answer is “just use a password manager”.
purplemonkeymad@programming.dev 10 months ago
The point of having a high entropy password is to protect against hackers brute forcing a leaked database of hashes.
I don’t think you need to worry about that in this case, the special character restriction suggests to me that they don’t hash it.
Buffalox@lemmy.world 10 months ago
The point of having a high entropy password is to protect against hackers brute forcing a leaked database of hashes.
Seems a bit stupid if a database of passwords or other sensitive information can be brute forced.
Buffalox@lemmy.world 10 months ago
just use a password manager
I will never do that, I have a system instead. I never understood why people would want to use a password manager. To me it seems it ads an attack vector, where you could lose EVERYTHING!
SwordInStone@lemmy.world 10 months ago
what’s an example of password that can be guessed by logic?
Buffalox@lemmy.world 10 months ago
Something that can possibly be deduced, like a birth date.
Rolder@reddthat.com 10 months ago
hunter2
ted@sh.itjust.works 10 months ago
Try this one, has lots of special characters:
a_a_a_a_a_a_a_astevedice@sh.itjust.works 10 months ago
This one too: _____________
TriflingToad@sh.itjust.works 10 months ago
or the entirety of the Bible with special characters removed and spaces replaced with underscores
cupcakezealot@lemmy.blahaj.zone 10 months ago
“for best results, your password should be the street you grew up on or your favourite book”
expatriado@lemmy.world 10 months ago
recently did one that only cared about being very long, so i typed thispasswordisfuckinglong and it took it
squid_slime@lemm.ee 10 months ago
I hate these arbitrary limitations of 16 characters, 25 is unbreakable and some sites won’t slow it.
possiblylinux127@lemmy.zip 10 months ago
Use a password manager
chuckleslord@lemmy.world 10 months ago
I mean, 63^6 is a lot of possibilities, but just make the password longer to increase its security.
Blocking out special characters is dumb, but as others have pointed out, they’re probably not sanitizing inputs.
stupidcasey@lemmy.world 10 months ago
Ah, I’ve done that before, 1/100 odds it’s because someone doesn’t want to fuck with RegEx.
sntx@lemm.ee 10 months ago
You might want to try out: libraryofbabel.info/random.cgi
random_character_a@lemmy.world 10 months ago
Rhynoplaz@lemmy.world 10 months ago
“Your selected password is already being used by SwiftyFan05. Please choose another password.”
Agent641@lemmy.world 10 months ago
another_password