by charles_f · 3y ago · 0 comments
Oh wow, that's one of the dumbest security hole I've seen so far. That means you're either authenticated in the first screen, or the second assumes that you are whom you say you are if you lend on it. There's a clear lack of ethics from whomever built that, whom either didn't care, or didn't know enough know enough to excuse themselves from building it and ask for assistance.
I mean, this is not your regular system. Everyone is in there, not that they have much of a choice, and it's their most sensitive data, that you decide you're up to the task to protect.
I'm all for learning from your mistakes and I'm the first one to screw up once in a while, and to admit that I am not a security expert. But the size of this combined with how freaking dumb this issue is... This is most likely gross negligence. In most of other industries where people call themselves engineers, you would be putting your own professional reputation on the line when deciding you're up to the task. Then you would get in front of am ethics commission and likely get your license suspended or revoked.
Maybe originally the code had multiple levels of authenticating the user: 1) we know who you are, but you haven't proven it yet, and 2) you've proven it, now you can see everything.
But when they integrated with a 3rd party, which could have been a decade or more after the original code was written, some developer who didn't understand the code just lumped everyone who came over from annualcreditreport.com into basket #2, even though that user still had to go through the url flow to prove themselves. Just a guess.
I don't think most non-programmers realize how often preventing this kind of thing comes down to one developer making a stink repeatedly to indifferent higher-ups. If that one developer is incompetent or doesn't care, no one else does.
So much effort is put into checking that people are who they say they are (is Person X really Person X) , they forget to check that they're authorised (is Person X actually supposed to be accessing resource Y).
Given the URLs don't have the actual resource Identifier, it means the resource ID will have been gathered from somewhere else, typically one of three places:
1. Cookies / Localstorage - Easily manipulated and should never be treated as a secure place, it's easy to put simple values here and forget that they still need to be validated / checked server side, and that just because you have access to /foo/Y you might not also have access to /bar/Y.
2. Session - An ASP favourite, sticking something in a key like Session["FolderID"] you might assume you've validated and checked authorisation when you set the key, then later re-use (deliberately or accidentally) the same key elsewhere leaving it open for manipulation. And then you might assume you don't need to re-check authorisation when you read the key.
Probably just a lot more inexperienced developers treating it like a magic authenticated bag without enough warnings about improper use in the documentation.
Also a very easy "go to" store via global variable in ASP made it especially easy to use it as a go-to solution for anything that you couldn't be bothered to properly store.
That way no developer can come along five years later and accidentally grant the wrong access level or show the report to a not fully validated user. Put the security check on or as close to the thing being accessed as possible.
BOLA: Broken Object Level Authorization
IDOR: Insecure Direct Object References
[0] https://www.wallarm.com/what/broken-object-level-authorizati...
Backend does not understand what frontend looks like, does, or even supposed to do. Data team just wants to make sure stuff is mapped and goes where it is supposed to go without breaking anything. Nowhere there is a person who is responsible to say 'the fuck yo'.
If you look, you see it everywhere. When stack-exchange rolled out their CV feature they had a similar thing which leaked everyone's email address regardless of the public profile visibility or whether they had even used the CV feature.
Even simpler, this would be prevented if /acr/oow set a decryption key as a cookie after validating the verification data that was then used by /acr/report to decrypt your credit report.
[1] Yes, it's possible to enumerate over all user's security answers, so it's not perfect, but it ensures a simple mistake with an if condition, doesn't release everyone's data.
I never really understood how they could take my information, which presumably belongs to me, and then could use it to make millions. How about my cut?
I'm not saying that I'm happy about the current state of affairs where we are spied on and sold and resold, but I just wanted to clarify that it's not so simple as you make it out to be that each person owns all information about themselves.
It is an accurate take. The problem starts when the gathering becomes an industrial level process and start charging money for it.
I am almost at a point, where I pray for a Target level breach that somehow involves the 3 bureaus. Maybe then other entities start suing one another over fallout. Until then it is just 'swy'.
Places which treat security as an audit checkbox are going to try to outsource that work to save money and they're going to get people who have enough skill to run a few basic tools but not to reason about the results or do anything creative. Experian seems highly likely to be on that side since they've been able to avoid any significant penalties for past negligence.
I highly doubt that Experian attracts the best and brightest. And when you have a company that doesn’t provide any features to the consumers whose data they collect, control, and sell except when sued, you get stuff like this.
They won't regard accessing credit files in this way as a security / privacy issue, but merely a billing issue.