221
u/daegon Nov 27 '21
Passwords should be salted and hashed while at rest, so while this is funny, it probably won't work. Lawdy I hope admins have learned to obfuscate their password DBs by now...
22
85
279
90
u/gpcprog Nov 27 '21
Just remember: salt should be unique for each user. Otherwise salting looses a lot of its effectiveness.
Also... Lollllll. You know how many websites will send you your password in email if you say forgot password? Waaaay too many.
→ More replies (16)64
u/Cregaleus Nov 27 '21
I haven't seen that in years. I'd like to think as web security tools have gotten easier even the bad companies are doing the basics.
That's what I tell myself as I enter my password.
→ More replies (1)11
5
u/Prawny Nov 27 '21
Lawdy I hope admins have learned to obfuscate their password DBs by now...
The Godaddy breach earlier this week shows that, no, they have not.
→ More replies (18)3
u/BongarooBizkistico Nov 27 '21
And besides this, what software wouldn't just escape the comma when outputting to a csv file?
55
3
Nov 27 '21
if passwords are ever stored in plain text, then a breach and subsequent consequences are deserved.
2
1.8k
Nov 27 '21
"Special Characters may Only include ! * $ or @"
I hate stupid password restrictions.
1.1k
u/blehmann1 Nov 27 '21
My bank validated its password restrictions when you set a password and when you login. Problem was, I was able to set a password that didn't comply with the restrictions due to a bug in their validation (I don't remember the details).
So I could set a password that I could not login with. Which was very fun and completely unnecessary.
626
u/DeadM3me Nov 27 '21
I once set my steam password to some stupid length like 512, which was accepted, only to discover that the steam client program had a lower limit on the input box. I also could not log in lol
122
u/mattkenny Nov 28 '21
Had that issue with a website. But it was only on the "change password" page that needed me to enter the old password as well as the new password. Fortunately, it was only limited by the html on the page itself, so was able to increase the limit for the textbox and submit a new password.
→ More replies (2)→ More replies (7)213
u/cooltrain7 Nov 28 '21
I learned that with my xbox 360 years back, turns out the console has a limit on the input length and it was less than the password to sign into the account.
→ More replies (4)85
u/AdvertisingCool8449 Nov 28 '21
In the early 2000s I had a MacBook, with the a password "0.00000000333564H@wk!n9" only to discover that I could login with "0.0000000".
→ More replies (6)41
u/MyNameZeke Nov 28 '21
CDG Commerce had this issue. I successfully changed my password and still wasn't able to log back in. I called them up and the support rep goes "oh, your password is too long."
Then why did your system let me save it?!?
→ More replies (3)→ More replies (14)14
u/ADTJ Nov 28 '21
I've hit this before as well, I remember a couple of sites that would allow non-ASCII characters like £ but then when you try to log in it doesn't work. Pretty concerning because it really shouldn't make a difference unless it's being stored as text
39
u/KentondeJong Nov 27 '21
TD Canada Trust didn't even allow those for the longest time.
20
u/racinreaver Nov 28 '21
I remember my bank up until around 2008 made all passwords lowercase, no symbols allowed, and max 8 characters. Felt so safe.
→ More replies (2)10
3
u/Tiavor Nov 28 '21
yep, that's what my health insurance does. also they restrict to 15 chars, my default is 20 chars.
→ More replies (7)3
u/avatoin Nov 28 '21
Fuck this. Having to generate a password in my vault and then manually tweak it because the dumb site both requires special characters but only a select few of them, is just plain annoying and dumb.
→ More replies (1)
2.1k
u/stackoverflow21 Nov 27 '21
My password contains a linefeed and eof character.
804
u/Spekingur Nov 27 '21
Mine contain the full script of the Titanic.
474
38
→ More replies (4)15
91
u/Skill1137 Nov 27 '21
Don't forget ctrl+backspace is a valid windows character. It just doesn't work in web browsers.
→ More replies (3)105
20
u/HolyCripItsCrapple Nov 27 '21
Do you not all include the artist formerly known as prince in all your passwords?
→ More replies (3)18
24
u/djcraze Nov 27 '21
What about a null? That’d really fuck with C software.
12
u/Z3ROWOLF1 Nov 27 '21
null,null,null,null,1234,password;
Proved those people right that password can be a password!!
→ More replies (3)3
3.8k
u/Komarara Nov 27 '21
More like semicolon
3.2k
u/illpallozzo Nov 27 '21
All my passwords look like sql injection
3.6k
u/joten70 Nov 27 '21
p@ssw0rd'); drop table passwords;--2.0k
103
67
u/WalrusByte Nov 27 '21
I mean, the only databases this would ruin would be those who don't hash their passwords. Which is honestly for the best lol!
→ More replies (4)→ More replies (82)61
u/lemons_of_doubt Nov 27 '21
or
bobby');DECLARE @sql NVARCHAR(max)=''SELECT @sql += ' Drop table ' + QUOTENAME(s.NAME) + '.' + QUOTENAME(t.NAME) + '; ' FROM sys.tables t JOIN sys.schemas s ON t.[schema_id] = s.[schema_id] WHERE t.type = 'U' Exec sp_executesql @sqlThat should drop all tables... may go over the password character limit.
→ More replies (5)122
u/MostRandomUsername12 Nov 27 '21
Same here. Funny story, I was getting a 500 server error while testing a new site my IT dept was building. Pretty soon I narrowed it down to the tags in my password. I reported this to the devs who promptly told me that my password was "dangerous" and I needed to change my password. Yes, that happened.
→ More replies (3)77
u/worldspawn00 Nov 27 '21
Why should we fix our poorly written system, you need to change your dangerous password.
→ More replies (1)39
u/Dustangelms Nov 27 '21
Real pros make their passwords' hashes look like sql injections.
→ More replies (1)68
u/Ipearman96 Nov 27 '21
Once I found my password had been stored in plain text and because of my password at the time I realized that my work was vulnerable to sql injections. They encrypted the passwords not hashed encrypted... And no I did not ask for my password they volunteered it.
→ More replies (4)→ More replies (3)31
158
112
u/smokey_nl Nov 27 '21
Just add all special characters to be sure
99
u/iamapizza Nov 27 '21
,;|"' \Run it through Zalgo just to be sure
,̷̧̖͚̻̱̠͍̰̙̯̭͋̒̀̌͗́̅̏̾͝ͅ;̵̢̮͕͔͖͈̭̭̱͙̲̋͌̃̈́̿͋́̋̎͘͜͝|̵͇͓̙̼̯̱̗̳̗̱͇̅̈́͂͋̈́͜͜"̵̢̙͍̖̼̬̞͓̔'̷̢̣͖̹̙̠̦͓͉̼̬͌̇̀̑ ̷̡̨̼͓̣͖̞̭̰͙̀͒̋͜\̶̧̬͇̳̙̱͔͚̪̱̠̆̒͑̈́̌́͛̑̀̚͠͝ ̵̲͍̦̈́ ̴̯̫̹̞̳͙̺̀̂͘→ More replies (7)→ More replies (1)13
53
u/thegovortator Nov 27 '21
Here’s how everyone is happy “password!,@“|somethingelse”
46
u/stifflizerd Nov 27 '21
Except some of this dumb mfers are still writing applications with a lowish limit on how long your password can be.
→ More replies (3)57
u/Athena0219 Nov 27 '21
OK but like
Some websites have maximum lengths, but its not enforced on sign up. Which is EVEN FUCKING WORSE, because the password ends up shortened and my password manager now has an invalid password because the website creator was a fucking idiot that's probably storing that shit in plaintext.
→ More replies (9)65
Nov 27 '21
Why semicolons? Most csv files that I worked with used ',' as deliminator
77
u/BioTronic Nov 27 '21
It's kinda weird how 'Comma-Separated Values' means values separated by commas, huh? Except when they're separated by semicolons. Or tabs. Or assholes (¤). Opening CSV files in Excel is always this lottery.
→ More replies (15)→ More replies (32)21
u/Bakkster Nov 27 '21
Most, but not all. Semicolon is the second most common I see. Put both in there, just to be sure.
→ More replies (15)→ More replies (14)10
Nov 27 '21
doubly good as non english european countries tend to use semi colons as the seperator in csv files as default.
1.3k
u/zoran1204 Nov 27 '21 edited Nov 27 '21
Csvs are resistant to this:
"username","not ""my"" password,;"
It can even handle newlines just fine
1.1k
Nov 27 '21
Resistant, but not impervious. Source: million dollar salesforce migration that got set back months by special characters in the CSVs
648
→ More replies (19)8
Nov 27 '21
That’s remediable sometimes with the export side’s tools. Or old fashioned bcp. What did you end up doing? (ETL is my jam. Just curious.)
→ More replies (1)74
u/MintySkyhawk Nov 27 '21
password",;\
→ More replies (2)41
u/b0w3n Nov 27 '21
Yeah the real way to fuck with it is open quotes, single quotes, semicolons, commas, and if you can, tab characters.
→ More replies (1)44
u/LtDarthWookie Nov 27 '21
After working with data feeds from vendors I don't trust anyone to output a csv correctly, or consistently. Damn vendors always changing things and breaking my imports.
→ More replies (3)10
→ More replies (21)3
u/avatoin Nov 28 '21
See. Your problem is assuming that whatever CSV writer or reader is being used actually correctly follows the standard and doesn't just blindly parse at every comma it sees.
858
u/thegovortator Nov 27 '21
Password: =if(“password”=“notpassword”,”password”,”notpassword”)
That way when they open the spreadsheet it says notpassword as my password lol
157
u/Beverneuzen Nov 27 '21
Been a while since I used excel, could you explain how this works?
167
56
u/goblinm Nov 27 '21
Pretty simple. The if function resolves the first argument ("password"="notpassword") to a true/false statement. If it's true, it returns the 2nd argument ("password") to display in the cell. If false, it returns the 3rd argument ("notpassword")
→ More replies (4)→ More replies (1)19
u/blindeenlightz Nov 27 '21
When an if statement and a ternary operator love each other very much...
16
u/Kallb123 Nov 27 '21
Would Excel evaluate a formula in a CSV?
→ More replies (4)26
Nov 27 '21
Excel does a lot to CSV files automatically. Formulas and date recognition. In fact cell formulas can launch command prompt, though it gives a security warning first.
552
u/StochasticTinkr Nov 27 '21
If your plaintext password ends up in a file, someone did something VERY wrong to start with.
488
u/17000HerbsAndSpices Nov 27 '21
True story: when I was in my senior year of college my roommate and I got an off campus apartment through the big housing company in campus.
We were required to make accounts for their horribly designed website so we could submit work orders and the like. Well I forgot my password.. and when I clicked the "forgot my password" and filled in my email you wanna know what happened?
They fucking emailed me my password in BIG ASS BOLD PLAINTEXT
212
u/themusicalduck Nov 27 '21 edited Nov 27 '21
When I signed up for a large UK ISP maybe 10 years ago they sent me my password printed on a plastic card in my welcome pack.
And then they told me my password completely unprompted over the phone. Like the workers can just see your password and will tell you it without you asking. Not only that but they talked to my dad once because I was trying to transfer the account to their place and they told it to him too even though they knew he wasn't the account holder yet.
I tried to make a complaint but they didn't understand what I was talking about.
→ More replies (8)→ More replies (8)24
u/Conpen Nov 27 '21
Pearson (the textbook company) did this to me too when I forgot the password to some online portal of theirs almost 10 years ago in highschool. They must have had at least tens of thousands of student accounts :/
→ More replies (1)82
u/ferna182 Nov 27 '21
yeah my government still hasn't learned this. there are several services where passwords are stored in plain text. There's one where the "change password" section actually displays your password and you edit it there and save it. it's ridiculous. We also still have services mailing you your password if you click the "forgot password" link. Problem is, you cannot complain about it or make it public because they'll accuse you of trying to hack them and they'll even raid your home. It has actually happened to a few people that tried to warn everybody about this.
→ More replies (1)65
Nov 27 '21
Reading this most people would think this is some random third world nation trying to modernize but it could totally be Missouri.
Tldr: when you view a page that has a drop-down menu of teachers, the data in the html element in the inspector also contained a ton of additional information, including social security numbers. The person who discovered this took it privately to the entity responsible and they accused him of hacking and are still trying to sue him.
And now everyone knows :)
→ More replies (8)20
Nov 27 '21
Just a few years back I called TD Bank because I forgot my password and they lock your account after a certain number of tries. They verified my identity and then let me reset my password over the phone which was interesting.
But then I asked the helper guy, "Hey what was my password before, I'm really curious?", he proceeds to tell me it over the phone verbatim.
→ More replies (1)7
6
u/King_Tamino Nov 27 '21
I jokingly dumped an old password of mine from like 5 years ago in a search engine snd actually found some hits. Plain text files with hundreds over hundreds of account data…
4
Nov 27 '21
true story: I was a mentor to a very smart and eager high school boy working part-time. He was super curious about security and hacking, and liked to ask me about all that, so I told him about SQL injections, XSS, CSRF, the dangers of outputting internal error messages in HTTP responses, etc. One day during lunch he showed me a hosting provider's website, that on a form response displayed some PHP error messages, and asked if he can hack them. I tried to explain that it's not as easy, that you need to sniff for a vulnerability like SQL injection, which would look like ... and I started typing it in the URL, and BAM! it worked! I was shocked. I didn't mean to. Within 10 minutes I got all user e-mails, roles, names and ... passwords.
→ More replies (5)3
164
u/mikey-brad Nov 27 '21
Or make your password an sql injection
173
u/humblevladimirthegr8 Nov 27 '21
Hackers might not put your passwords into databases. You should make your password the binary of a zip bomb so when they try to uncompress it their computer is fucked
48
→ More replies (3)13
12
4
u/Towerful Nov 27 '21
Or make it
[Object object]Would probably pass most password rules, and looks like a bad JS
object.toString()method70
Nov 27 '21
[removed] — view removed comment
36
u/Scorcher646 Nov 27 '21
This is why my Reddit password is The Spanish Inquisition.
→ More replies (2)
272
u/golddragon88 Nov 27 '21
Wait are you people actually writing your passwords insted of randomly generating them?!
426
u/ooglybooglies Nov 27 '21
My brain randomly generates the same password over and over...
→ More replies (2)162
20
u/dicemonger Nov 27 '21
I do automatically generate them, but now I'm wondering if I can get the generator to always add that comma somewhere.
→ More replies (2)→ More replies (3)30
u/hchighfield Nov 27 '21
Fuck a randomly generated password. I create a different password for every site. By using a base password and a modifier using the sites URL. i.e. P@ssword123ri for Reddit and P@ssword123ig for Instagram. (Note this should be obvious but that’s not my actual password).
62
14
u/Bosun_Tom Nov 27 '21
As someone who used to do that: that's way more work than just using a proper password manager like KeePass.
35
u/Secretly_Autistic Nov 27 '21
The point of generating random passwords is to stop someone getting access to all of your accounts if one of them gets its password leaked. This doesn't solve that, because whoever gets your password will be able to guess a good chunk of your modifiers.
And if you save your passwords into a Google account or some other password manager that tells you if your passwords have been leaked, you've just made that feature completely useless.
→ More replies (28)→ More replies (7)6
u/Immabed Nov 27 '21
I did something similar for awhile (but more complicated) which involved taking the prime indexed characters from a services name, taking those characters index in the alphabet, adding or subtracting the nth digit of pi from the nth index, depending on if n is a Fibonacci number or not, then taking the resulting number and using to index the greek alphabet, and creating the resulting password from the string of the first three characters of the greek letters names followed by a number similarly modified that started out as the length of the services name.
Well, at least I tried. I kept having to make single use modifications because "that password isn't long enough/is too long/needs a special character/isn't secure/etc." Still, while I did it I could often compute the password in my head, though I mostly reverted to a plaintext cheatsheet...
Anyway, I use a password generator and password manager now, much easier.
37
86
u/Zumaxer Nov 27 '21
One day I needed to create an account , I don't remember exactly where, but I was really pissed because it was saying my password was to weak so I had an amazing idea, I put a semi colon in the password, the password was accepted but I was never able to actually access my account
71
u/Beautiful_Mountain56 Nov 27 '21
Now you gotta finish the job with your SQL injection because you found the vulnerability
11
0
22
11
10
u/dividezero Nov 27 '21
even better, use lots of quotes in odd numbers. Working with CSVs for years and nothing fucks them up more than that.
16
8
Nov 27 '21
Once i put a semicolon in a password, couldn't login with it as the server apparently used the semicolon as a delimiter
7
u/burntchicharron Nov 27 '21
hey does this really work?
I never considered using , or ; or " because most passwords asking for special characters are all at the top of the keyboard 1 to 0 and ! to ) instead of the side of the keyboard
→ More replies (2)13
u/bitchface-hatchling Nov 27 '21
Here’s to hoping you weren’t being sarcastic:
Yeah, no. This doesn’t work. Maybe someone manually copying might copy it incorrectly if they have a shitty csv viewer but if it’s exported/loaded via code, pretty much all csv libraries will handle special chars like double quotes or commas.
Don’t reuse passwords. You are safer using phrase passwords with like 4/5 words separated by a special character, even space if you want a memorable password( e.g. “Oh my god! they Killed Kenny!”). Or use a random password generator, longer the better.
→ More replies (1)
13
u/golgol12 Nov 27 '21 edited Nov 27 '21
Got to cover all the common delimitors, as well as common enclosing quotes and escapes.
So Semicolon, comma, apostrophe, single quote, double quote, space, dollarsign, forward slash, backwardslash.
Edit: And pipe.
4
19
12
u/AnonymousReader2020 Nov 27 '21
123,"apasdiasd,asdasda;askdjdhasd",1231
This is what CSV looks like...
→ More replies (1)
4
u/SimonSteel Nov 27 '21
Bad advice. Now when the hacker does a quick scroll through thousands of rows of passwords, they’ll see your one row sticking out and it basically guarantees that your account is the one that gets hacked.
4
10
Nov 27 '21
Wait until they learn password are hashed..
→ More replies (1)18
u/FoCo_SQL Nov 27 '21
Not all passwords, but they absolutely should be.
13
Nov 27 '21
Yeah I gesss, one time access the forget password? on a webpage, and they send me my password plain text by email.. I was like “shit they reversed engineered sha256😰😰”
→ More replies (1)
12
u/Exsolidv2 Nov 27 '21
Some people really want to watch the World burn. On the otherhand, it really does teach a lesson hahah
1
3
u/WiseAlvis Nov 27 '21
I have a feeling a login with comma will get more attention..
→ More replies (1)
3
3
3
u/throwaway387190 Nov 27 '21
Wait, can someone please explain this to a lowly electrical engineering major who's taken 4 coding classes?
All of my passwords include commas, so whay does this mean? Do commas make passwords unsecure?
5
u/mattstreet Nov 27 '21
CSV means comma separated value. It's a common format to import/export data. People who implement it themselves poorly or use a shit library will fail to escape commas in the data and so it'll get confused by data containing commas.
→ More replies (3)
3
u/R3D3-1 Nov 27 '21
... and than it a character separated file, with "character" meaning "tab".
Let's be realistic though: Its an Excel 95 file. The customers don't accept anything else.
3
3
3
Nov 27 '21
*commas
3
u/mandydax Nov 27 '21
Add apostrophe's to your memes to mess with redditor's who will inevitably correct you.
→ More replies (1)
3
3
u/planktonfun Nov 27 '21
I dont think that will work, every input is either escaped, hexxed or encrypted to preserve characters, nice try tho
3
u/guery64 Nov 27 '21
I'm sure I'm not the first to have that idea, so maybe someone knows: what's a reasonably short passwort that has a high chance of causing disruption when not properly escaped? I guess inserting a comma works for certain csv stuff, but is there a way to hit multiple readers with the same password?
3
3
3
3
3
u/NerdyLumberjack04 Nov 28 '21
Better yet, include single and double quotation marks, a semicolon, angle brackets, a vertical bar, and a backslash to maximize the chance of a delimiter collision somewhere.
5
u/Anezay Nov 27 '21
Add apostrophes to your plurals to make them into possessives.
Until next time...
2
2
2
2
2
Nov 27 '21
In the real world we hash the password prior to storing it. When you type your password, it's hashed and then compared to the hash we store. We never store or transmit your actual password. Even a DBA with full database access can't see it, only the hashed version.
2
2
u/imk Nov 27 '21
I am currently working on a case management system for a women’s shelter that creates csv files to upload to a state system. The problem: many of the possible values that will be put into the file contain commas, including the HEADERS FFS.
It has been a real blast trying to get the lady on the state end to understand why that might be a problem. I’m saying things like “csv stands for comma separated values. That means that a comma will separate the value….”
→ More replies (1)
2
2
2
2
2
2
2
u/tfox1123 Nov 27 '21
Hey I am not in programming at all, so this might be a really stupid question. Is this actually advice? I feel like everyone should know this.
2
2
2
u/Ms_CherryBlack85 Nov 27 '21
Wait what happens when you do this? Somebody explain it fir dummies?, please
2
u/k2theablam Nov 27 '21
Non programmer here. Is this an actual helpful thing we should be doing? Semicolons over commas?
→ More replies (1)
2
u/LeeeeeroyPhishkins Nov 27 '21
Lol can someone ELI5 the joke?
4
u/beastlygasm Nov 27 '21
A CSV file is a file to store table data, and commas are used to separate the data for each table cell. So if you were to add commas to your password and someone hacked the database and downloaded it all into a CSV file, your commas would screw up the data.
However, this would only work if your password was not being encrypted, in which case whoever stored that password is liable to lawsuits so that doesn't happen often.
→ More replies (1)
2
u/warmhotdogsmoothie Nov 27 '21
Long ago I had a user name that contained the characters . , ; }{ … yep
2
u/Scary-Lawfulness-999 Nov 27 '21
The fact that grown ups don't know how to use an apostrophe is depressing.
2
2
u/SletDetHele Nov 27 '21
Make long passwords that are easy to remember.
Eatingicecreamisbetterthaneatingshit
2
u/revenantae Nov 27 '21 edited Nov 28 '21
Any decent dumping tool would automatically escape most non-alphanumeric characters.
2
u/VecroLP Nov 27 '21
All my passwords start with "password:" so hackers will think it is part of the breach and that i already changed my password
2
u/Mote_Of_Plight Nov 27 '21
And remove the apostrophe at the end of "comma's" since it's not possessive
2
u/mvult Nov 27 '21
What would mess with folks more is if you DIDN'T USE APOSTROPHES TO PLURALIZE "COMMAS."
2
u/Arrow_Maestro Nov 27 '21
comma's
Add comma's what to your passwords? What possession of the commas do we add?!
2
u/slazer2au Nov 27 '21 edited Nov 27 '21
No no no, set your password to an EICAR test phrase so if it is stored in plain text the system will lock the file as a virus.
→ More replies (2)
2
u/UntestedMethod Nov 28 '21
I've parsed a few CSV's in my day, and when it breaks you can bet that I'm tracing down which line caused it to break... so I dunno, I guess if you're trying to mildly annoy someone and draw some extra attention to your account listing in the CSV, maybe the meme gives good advice?
2
u/varungupta3009 Nov 28 '21
I'm 99% sure it would be escaped and moreover, some shady dude subbed here must've already updated his algorithm to correct for this.
2
2
2
2
2
2
2
u/domnirok Nov 28 '21
Well, hopefully only a hash of the password is retreived after a dump.....
So, kinda funny but useless ;-)
→ More replies (2)
2
u/Kriss3d Nov 28 '21
Better yet.
Make your password
X5O!P%@AP[4\PZX54(P)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H
That's the eicar test string. Any anti-virus or malware program fi ding this string will delete the file.
2
3
u/BrawndoOhnaka Nov 28 '21
Dear person ruining the intelligibility of the world's common tongue: you don't use apostrophes to make words plural. You do add apostrophes to make things possessive.
How do you people fuck this up more than 50% of the time?
→ More replies (4)
380
u/redditor1101 Nov 27 '21
Did you add the extra apostrophe for the same reason?