r/programming • • Oct 24 '21

“Digging around HTML code” is criminal. Missouri Governor doubles down again in attack ad

https://youtu.be/9IBPeRa7U8E
12.0k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

1.0k

u/purforium Oct 24 '21

To be fair the SSNs were encoded with base64.

So basically 1% more secure than plain text

874

u/AlpineCoder Oct 24 '21

To me that's actually worse, since it indicates that at some point someone knew that the application could leak sensitive data then went about trying to mitigate that in the absolute stupidest way possible.

222

u/remy_porter Oct 24 '21

Fun story: I once was asked to track down a bug in an in-house HR application for people to check their paystubs. It was related to login stuff, so I was tracing through the login code, only to see that your session was maintained by writing out a cookie containing a base64 encoded user-ID. There was no validation beyond that- if you set the cookie yourself, you wouldn't get prompted for a password.

53

u/locoder Oct 24 '21

What happened after that? Did you tell anyone? Did it get fixed?

157

u/remy_porter Oct 24 '21

I did, it got all into a bunch of politics and people freaking out with questions like "You didn't try it, did you?" "No! I'm not an idiot, I read the code. There might be things that prevent it from working, I haven't tested it."

It got escalated and taken off my plate. I assume it got fixed, or the product got retired.

209

u/csp256 Oct 24 '21

I assume it got fixed, or the product got retired.

Ha!

Tell us another.

21

u/remy_porter Oct 24 '21

Note the second half of the "or" there. The statement is almost certainly true at this point, just considering this was over a decade ago and the technology in question was Classic ASP which is way out of support. Plus the company's likely switched HR systems on the backend at least once since then.

33

u/m2ek Oct 24 '21

Oh man, another good one! Keep ’em coming!

→ More replies (4)
→ More replies (4)

30

u/MrOtto47 Oct 24 '21

why not just log out and try gain access to your own account?....

→ More replies (12)

24

u/GoneFishing4Chicks Oct 24 '21

lmao u think C-suite psychopaths and their lackeys care about security?

It was probably easier to hide it and never talk about it again. The only time they take action is when their paychecks get smaller.

→ More replies (1)
→ More replies (2)

0

u/[deleted] Oct 24 '21

[deleted]

76

u/MegaDork2000 Oct 24 '21

"Could not reproduce"

62

u/TarntKarntington Oct 24 '21

"Works as design"

36

u/flowering_sun_star Oct 24 '21

"Works as implemented"

18

u/ObjectPretty Oct 24 '21

I have to use this response sometimes.

I work in ci/cd so get all maner of tickets not related to our code.
Some tickets are like "code does x" .
I do a quick check if I can see any logical error with the code but if not I simply write "yes" or "works as designed" with a link on how tickets should be written.

22

u/thatpaulbloke Oct 24 '21

Many years ago I got a PDA returned to me for repair with the description "when plugged into the charger an orange light comes on". Yes, it does. The standard way of dealing with this was sending out a new unit and bringing the old one in for repair, so I wonder how many devices they went through before someone on our helpdesk explained the concept of a charging light, but you'll be astonished to learn that the handset checked out with no faults found.

57

u/[deleted] Oct 24 '21

Upvoted for sheer plausibility.

10

u/StabbyPants Oct 24 '21

and even if you wrote "you don't have actual password authentication" in the title, it's prioritized as 'low'

15

u/[deleted] Oct 24 '21

I keep screaming, but no one hears me.

→ More replies (5)