r/technology • u/LookAtThatBacon • Dec 21 '22
Security Okta's source code stolen after GitHub repositories hacked
https://www.bleepingcomputer.com/news/security/oktas-source-code-stolen-after-github-repositories-hacked/135
u/itstommygun Dec 21 '22
If it can happen to Okta, it can happen you you and your company.
34
u/CatProgrammer Dec 21 '22
All security requires risk assessment. You can never be 100% secure, if only due to the human factor. So you should always consider the possibility of a compromise and what your action plan is in such a situation.
-17
u/JimmyPopp Dec 21 '22
It didnât happen to Okta, it happened to Github
34
u/jamesgotweight Dec 21 '22
If it happened to GitHub, more than just Okta's code would have bern compromised. Don't conflate a single account on GitHub being hacked with GitHub being hacked. Someone probably leaked an access token or password for Okta's account on GitHub.
-22
Dec 21 '22
You sound really confident that its Okta's fault just to then say 'Someone probably...'
13
2
u/L0nely_L0ner Dec 21 '22
Found the Okta employee.
-2
Dec 21 '22
Not at all. In my opinion, I agree that it's probably Oktas fault. It just grinds my gears reading comments stating opinions as facts and I wanted to point it out lol.
2
u/jamesgotweight Dec 22 '22
It was definitely Okta's fault. The "someone probably" part was speculation as to the exact nature of the breach. I can be certain about the larger case and still speculate on specific details.
0
Dec 22 '22
Look, Iâm not trying to argue. You and I both agree that most likely it was on oktaâs end. But that is still an opinion tho, not facts. Thatâs my point.
Letâs also not act as if GitHub is perfect. Thereâs been some weird cases.
0
u/jamesgotweight Dec 22 '22
Believe me I know GitHub isn't perfect, but had they been breached, Okta wouldn't even make the top 100 organizations with a problem.
12
u/itstommygun Dec 21 '22
It happened to Okta, not GitHub. This is a common attack these days. Hackers will social engineer their way into getting someoneâs credentials, or Personal Access Token (PAT), for their source control. Then, if you have their code, you can easily find vulnerabilities.
366
u/UNLEASHTHEFURY8 Dec 21 '22
This is the company the US Government is using for authentication and security. Nothing to see here.
40
5
35
u/scseth Dec 21 '22
This smells just like when RSA was breached just to be able to get into Lockheed Martin (allegedly)
62
31
14
6
8
u/BrobdingnagLilliput Dec 21 '22
...and it turns out it's just a SAML service, just like every other SAML service out there.
5
Dec 22 '22
Their literal business model revolves around making sure only the right people have access to any system. How is this not a massive fucking black eye on their reputation?
Whoever their head of security is probably needs to be fired over it if only to reassure people they're taking it seriously.
4
Dec 22 '22
Strike 2. Okta is having trouble maintaining the scale. My company recently switched away from Okta over to Azure. It took a bit for us to modernize some of those older apps that were keeping Okta out in front, but ultimately, it was a good switch, and just in time apparently⊠My CISO would be calling me from my driveway right now if he read this.
8
u/terr8995 Dec 22 '22
Didnât Microsoft have a source code leak in the past? Also Iâd argue that this demonstrates their ability to contain an issue. But definitely not a great look and hoping they release more info soon because our CISO is definitely concerned
2
1
u/keesbrahh Dec 22 '22
They also leaked a data of over 65000 organizations back in October.
1
Dec 22 '22
I didnât hear about that one, do you have an article?
1
u/keesbrahh Dec 22 '22
2
Dec 22 '22
Thanks for the link. I do recall this now. Our org was not in scope, or so we were told, so I forgot about it. Wasnât a good look thoughâŠ
These large companies are all showing the cracks. I like how my CISO frames these things up, heâs always talking to vendors about risk tolerance, which is a good way to say it. It acknowledges that any company (even ours) is going to fart in the elevator at some point. Itâs about failing small and fast, owning up and getting stronger. I personally like that approach, and itâs how we talk to vendors about security incidents as well. How do we keep failures small, and quick, because big and slow ones are the creeping death :-)
10
u/pink_life69 Dec 21 '22
Okta fucking sucks ass I hope my company switches to something else nkw
17
u/zR0B3ry2VAiH Dec 21 '22
Can you elaborate on what sucks with it?
4
Dec 21 '22
Bugs bugs bugs. Itâs the best product in the market and you just fucking boggle at the search functions. Trying to find a part of a string to search for in an Okta group? Good fucking luck!
4
u/zR0B3ry2VAiH Dec 21 '22
Interesting, thanks for a valid response. I was looking at using it for CIAM and it's hard to see past their marketing pitch to understand the nitty gritty issues. Are you not logging that data to be parsed out via a SIEM? Would that solve your issue?
3
Dec 21 '22 edited Dec 21 '22
My point is less that I donât have options and more that the product out of the box is broken / not functioning well. Thereâs a Chrome extension that can do the wild card * searching for things that Okta canât do.
In the past few years the most significant change in terms of day to day admin-ing Iâve seen was the modification of how to add people to groups. I admit itâs slightly better than before but given how little theyâve developed the app⊠Itâs disappointing and certainly wasnât a feature I gave a shit about.
They did a big UI update for the user end and admin end a year or two ago and didnât fix the problems in the admin console. Just a new coat of paint: Thatâll do!!
Okta Workflows is impressive but is an added cost.
Itâs still the best product for this space but fuck me Okta is fucking lazy.
1
u/zR0B3ry2VAiH Dec 21 '22
Thereâs a Chrome extension that can do the wild card * searching for things that Okta canât do.
It's that bad huh? lol
The thing that bugs me is that anytime you buy a product, it really stays the same, and improvements always cost extra.-44
u/pink_life69 Dec 21 '22
It doesnât sync well across devices and platforms.
I would log in on my phone into Jira using Okta then my computer would also require me to log in through Okta when Iâm already logged in on the phone, kicks you out every 7 days, itâs a hassle and itâs annoying.
33
u/camisado84 Dec 21 '22
for sso? I'm confused why you'd expect that to work?
19
Dec 21 '22 edited Dec 21 '22
u/pink_life69 is what we call a LUser, in our line of work. Zero ability or enthusiasm to understand how such a simple thing like SSO works.
Edit: you can't turn something ON, unless it's plugged IN
23
u/g_rich Dec 21 '22
How else is it supposed to work, logins syncing across multiple devices is an absolutely terrible idea and forcing relogin every 7 days is good security and honestly a little too long, my preference is usually every 24 hours.
-3
u/fpcoffee Dec 21 '22
you know, SSO = Single Sign On⊠you have to sign on once. Ever.
5
u/SnooPuppers1978 Dec 21 '22
It's single sign on in the sense that you login through this one service to multiple services with one set of credentials. It doesn't say that you should be automatically logged in on all devices or that it should keep you logged in indefinitely.
0
u/fpcoffee Dec 21 '22
I was being sarcastic
2
u/SnooPuppers1978 Dec 21 '22
Considering the comment above, yeah, made it really difficult to detect the sarcasm there.
-1
u/hamsterpotpies Dec 21 '22
You sound like my gf's son when he loses an argument, "I was joking." Sure, buddy..
0
1
u/Lateral-Gs Dec 22 '22
Itâs a shame that apparently no one else thought this was funny. I laughed.
19
11
u/senorbill Dec 21 '22
What website have you ever logged into on your phone that automatically logs you in on your computer? Even pre-SSO you would have to sign in on both. And the 7 day logout policy is managed by your company, not Okta.
6
u/NudistJayBird Dec 21 '22
Anything that doesnât create a unique token per user, device, session and software is a gaping security hole. It would be marginally safer than just scrapping 2FA altogether and just having a checkbox that says âtrust me, dudeâ.
→ More replies (4)4
u/didimao0072000 Dec 21 '22
I would log in on my phone into Jira using Okta then my computer would also require me to log in through Okta when Iâm already logged in on the phone,
So you would prefer that once you log on, all your devices are logged on even though they may not be in your possession?
kicks you out every 7 days, itâs a hassle and itâs annoying.
7 days? You're whining about having to logon once every 7 days?!?!? I don't know of any admin that would allow that. Let me guess, you're the type of person that uses abc123 as their password right?
-1
u/pink_life69 Dec 21 '22
Yes Iâm whining about it. It kicks me out at the weirdest times. I would be working and bam, itâs 12:30, youâre kicked out in the middle of writing a message on Teams. Who expects that? I just canât send it then I get an Okta window. The 7 day thing is also sometimes 5 sometimes 7, sometimes 2 days, like itâs done on a whim.
I would want my devices logged in if possible because I have a minimum of 4 I have to work on every day. Please donât tell me how hard it is to keep a tally of devices used per user. Even HBO Max can do it and itâs not exactly the pinnacle of software development.
I have autogenerated strong passwords stored in PWMs, thank you.
I understand the mechanics, my problem is the inconvenience.
1
u/terr8995 Dec 22 '22
Lol just admit you donât know what youâre talking about when it comes to okta. No one will judge
0
u/pink_life69 Dec 22 '22
I never said I knew the precise inner workings of Okta. I said how it works sucks ass and itâs inconvenient as shit. People jumped on with the usual AKCHYUALY
3
u/Markqz Dec 21 '22
Another "hack" where we're not told how it happened. Was it a serious technical issue? Which would mean anyone could get hacked. Or did someone post their password/token some place where it could be grabbed and used?
2
2
u/lackdueprocess Dec 22 '22
Microsoft is Oktaâs top competitor and they own GitHub. I n t e r e s t i n g. . .
1
1
1
1
u/Biohacker_Ellie Dec 21 '22
This is why I never leave any even possibly revealing information in my GH repos. Smh
1
u/Bearet Dec 22 '22
The first thing you should be aware of in computer security is that you can never be better than one step behind the bad guys when you are trying to defend your network. The reality is more like ten steps behind as you may not be aware of a subtle but exploitable flaw until it is too late. The bad guys have team members who do nothing else except look for these flaws to exploit. Be paranoid. Given how vulnerable any system is to hacking, you may as well be naked in front of that little camera on you laptop or monitor.
-49
u/bigkoi Dec 21 '22
Another Microsoft product hacked. Horrible security record.
24
u/noidontwantto Dec 21 '22
So you didn't read the article, then?
6
0
Dec 21 '22
[deleted]
27
u/LingrahRath Dec 21 '22 edited Dec 21 '22
I don't think Github repository getting hacked is equivalent to Github getting hacked.
If only Okta's repository is hacked, then there must be something wrong with their own security system.
If Github itself was hacked, then it would be a shitshow on a global scale.
15
u/danfirst Dec 21 '22
So if I leave an S3 bucket open and they steal all my info, AWS wasn't hacked then? /s
2
u/kezow Dec 22 '22
Sure there could be a security flaw in github - they patch all the time, but more likely it was an employees access token or ssh key that was compromised.
2
u/gmes78 Dec 22 '22
That's like saying "Facebook was hacked" if someone guesses the password to your account.
0
Dec 22 '22
[deleted]
2
u/gmes78 Dec 22 '22 edited Dec 22 '22
You missed the point of my comment, it was an analogy.
Regardless, GitHub has 2FA, it's not their fault that some people don't use it properly.
-2
1
u/bluntmasta Dec 21 '22
Let me get this straight... I wrote the one and only copy of my book report last night and put it in my locker first thing in the morning. I tell my locker combo to my friend in a crowded hallway between classes. There's some bullies standing right next to this friend and they're listening in but I tell him the combo anyways because he wants to borrow my math book. Around lunchtime, the front office pulls me aside and tells me they've seen a bunch of weird activity around my locker today, but I shrug it off and go about my day. I get to my last class and another student starts presenting my book report as their own, even though nobody else had seen it before that morning. The locker still locks. The combination is the only combination that will unlock it. Are you saying the school got hacked? Does the locker manufacturer have a horrible security record?
-14
u/krazyjakee Dec 21 '22
Why are they booing? You're right!
-9
u/bigkoi Dec 21 '22
Agreed. Some MSFT fan boys...
-6
u/krazyjakee Dec 21 '22
I just think they either didn't read the article and read it but don't understand the full context.
-1
-8
u/Stunning_Delay9811 Dec 21 '22
Someone actually relies on GitHub to keep their source code safe? đ«Ą
7
u/didimao0072000 Dec 21 '22
Github or other variants of git is what most use. What alternatives would you suggest?
-5
u/Stunning_Delay9811 Dec 21 '22 edited Dec 21 '22
Something local/air gapped if we're talking about source code that you want protected. Edit: They had DoD customers and I can almost guarantee you this method was not up to snuff.
4
u/didimao0072000 Dec 21 '22
Forcing developers to work with an air-gapped repository would present huge challenges and probably not practical for something like okta.
1
u/Stunning_Delay9811 Dec 21 '22
You are right about that but in no way should there have been a Third party involved.
1
u/gmes78 Dec 22 '22
Enterprise customers can host their own private instance of GitHub. They should've done that, at the very least.
1
-4
u/Stunning_Delay9811 Dec 21 '22
Yes let's downvote me because I suggested air gapping source code that that DoD uses for authentication. Bunch of muppets.
6
u/mahsab Dec 21 '22
Because air gapping makes absolutely no sense here.
How are developers supposed to work? Air-gapped workstations for development of cloud products??
-1
u/Stunning_Delay9811 Dec 21 '22
Some people shouldn't be let around people's personal/classified information and it really shows.
-2
u/Stunning_Delay9811 Dec 21 '22
Why does "cloud" augment your thought process. We're talking about DEV of Top Secret plus software.
0
Dec 21 '22
[deleted]
3
u/didimao0072000 Dec 21 '22
Intranet Gitlab.
Even then, you would need all developers machine disconnected from the internet. Is this practical as developers usually reference stackoverflow or other websites all the time. You would also have to disable all ports to prevent external drives. How would the dev team access external libs?
0
u/showingitoff93 Dec 21 '22
Yes there are means of keeping code where the code never lives on the machine of a developer. And yes, good engineering companies follow these methods.
-8
-2
Dec 21 '22
Maybe theyâll make a quality okta that doesnât suck ass and isnât riddled with bugs.
-5
u/theonedeisel Dec 21 '22
Okta sucks. I don't understand why though, SSO seems super simple, you just exchange tokens right? Why are they a big company? The only parts that they add are not pleasant to use
6
u/terr8995 Dec 22 '22
Because okta does so much more. At the core- itâs sso. Which has ballooned into a pretty feature rich corporate identity solution that includes aMFA, identity governance, lifecycle management, thousands of integrations, server management and on prem solutions. They also have a pretty solid customer identity business thatâs behind the scenes of many brands you probably use.
My company is all in with okta- using them for both customers and our employees. I donât think any other solution comes close in terms of features and ease of use.
-12
0
Dec 21 '22
[deleted]
404
114
u/louiegumba Dec 21 '22
Lol. Thatâs amazing. I was literally just about to start integration for a product with them in the next couple days. I might just skip to onelogin for now!!
Okta bought auth0 recently too.. maybe recently enough to have code merges
46
u/DasDunXel Dec 21 '22
No matter what some kind of added security is better than no security. Research hard. And don't be afraid to use these types of negative news as bargaining chips for lower costs of let's say Okta is still an option.
75
Dec 21 '22
Because their GitHub repository was hacked?
Security through obscurity is no security at all.
Okta does not rely on the confidentiality of its source code as a means to secure its services.
Okta's product is no less secure than before its source code repository was hacked. It may, given people's propensity for reviewing others' code, even become more secure as a result of becoming (ahem) opened source.
42
u/Where0Meets15 Dec 21 '22
Okta's product is no less secure than before its source code repository was hacked. It may, given people's propensity for reviewing others' code, even become more secure as a result of becoming (ahem) opened source.
Yes and no. The hackers have the source, the public (as far as I can tell so far) does not. Until it's public, it's entirely on Okta devs/contractors to do a security review and try to patch any previously unknown vulnerabilities before the hackers are able to exploit them. It would be to the hackers' benefit to retain control of the source.
22
u/GiftFrosty Dec 21 '22
In the case where of hackers being the only ones with the source code, it would seem beneficial to publicly release it and offer massive bug bounties for any holes found by legit security researchers.
13
u/Where0Meets15 Dec 21 '22
Agreed. At this point, releasing it as "viewable source" would probably be a bonus selling point now that the source isn't completely private. You'd probably have a hard time convincing the C-suite to go fully open source. I'm not sure if there's an appropriate share-ish license out there, so they'd probably have to draft their own.
0
u/lucidrage Dec 21 '22
it would seem beneficial to publicly release it and offer massive bug bounties for any holes found by legit security researchers.
you seem knowledgeable in security stuff. What's the difference between Okta and Vault as a secrets management/authentication tool? Is one more secure than the other? Vault is opensource afaik.
32
u/EverybodyKnowWar Dec 21 '22
Okta's product is no less secure than before its source code repository was hacked.
Only if they have zero bugs.
2
Dec 21 '22
Maybe not quite so extreme, but it would help. If not - then you'd at least hope they had solid internal coding practices and did routine reviews/assessments, both internal and external. Obviously given the nature of their business you'd hope that's the case, but maybe not.
If they had a laundry list of difficult to address flaws in the backlog or were not diligent in addressing security, then this could get ugly.
9
u/classyfilth Dec 21 '22
Can you eli5? Iâm on the help desk and I need a sound bite.
39
u/Hei2 Dec 21 '22
"Security through obscurity" can be explained like having a door into your house that you never lock, but nobody knows exists. Your house isn't actually secure, you've just hidden an insecure entrance. Contrast this with having an actual deadbolt on your door. Now you need a key to get in, which is an actual security feature.
The source code can be thought of as blueprints for your house. By virtue of the blueprints becoming public knowledge, non-nefarious people may take a look at them and point out potential security flaws that they happen to find that you can then fix, making your home more secure than when you mistakenly thought you had everything covered.
1
u/classyfilth Dec 21 '22
Okay gotcha- is that just for the simple fact that itâs a managed service? Thank you!
0
u/routingprotocols Dec 22 '22
It would be a risk regardless if itâs a SaaS or software customers run themselves
13
Dec 21 '22
What this means is that hackers can look for software bugs and problems in the code, that they can use the cause more hacks in the future.
But in itself the source code being public wont damage okta-clients
-1
u/steviestevensonIII Dec 22 '22
All security is through obscurity, itâs just a matter of how information it takes to turn on the flashlight
-3
u/louiegumba Dec 21 '22 edited Dec 21 '22
Itâs a company itâs not open source and they live by security through obscurity. As do all companies without open source.
Iâve been a Linux developer since 93 in different capacities. I am aware of how the world works for this in reality. Closed source code is less of a liability when the company is profit driven almost always
Do you use windows anywhere? Do you trust every line of source code? I am well aware of what security is as itâs my current role. You are making a blanket statement here I am sure
The only thing I was gong to be doing with okta anyways is provide an sso platform for my customers that use it and want integration. I am not doing that anymore because one bad line of code thatâs known can compromise an auth token.
I already rejected auth0 this year for their horrible uptime. Selling me that 4-9âs of uptime is sufficient is a joke when i maintain 100 pct uptime with redundant auth on my side already for a fraction of the cost.
4
Dec 21 '22
The auth0 acq was about a year ago. Theyâve mostly been focused on infrastructure improvements as far as Iâve seen.
2
u/ckchessmaster Dec 22 '22
Yeah Auth0 is in the process of converting all of their clients to their cloud based platform (as opposed to their old on prem infra). At least for enterprise customers.
3
1
u/Zippy129 Dec 21 '22
Apparently Auth0 wonât be merging codebases with Okta, so they should still have an independent offering.
1
1
u/mistalanious Dec 21 '22
Sounds like your company should have invested in better personnel. đ
1
u/louiegumba Dec 22 '22 edited Dec 22 '22
that shows how small your mind is
the only reason i wanted to integrate with them was to allow customers that have them at the base to provide SSO ability for those customers to use my products
okta and auth0 have 3-9's of resilience and it's a joke
I provide directory services for 250k individual accounts and I have literally 100% uptime. I have zero reason to federate my logins to a shit company
People like you amaze me. I make a comment and you want to make it personal? sounds like you need critical thinking before you pop off and sound stupid.
0
Dec 21 '22
whats your usecase? Tbh recently moved to a company using OKTA and not seeing any value add over a Microsoft E3 license.. functionality seems more limited and pricing is very fragmented
0
u/ironichaos Dec 21 '22
If you still go with okra you probably can get a sweet discount right now lol
-16
Dec 21 '22
whoa thatâs huge
whats okta?
4
u/Deesing82 Dec 21 '22
as always, feel free to read the article youâre commenting on. in this case, literally the first ten words of it would answer your question.
-4
-18
Dec 21 '22
Aren't all Github contributions GNU by default?
21
u/MoneroMon Dec 21 '22
Certainly not in private repositories where companies keep their proprietary software
3
u/skyfallda1 Dec 21 '22
Nah, they're all rights reserved unless you add a licence, but you can view and fork the repo (unless it's private)
524
u/NotACockroach Dec 21 '22
It's worth noting that while it's not ideal, revealing source code is not a security flaw in and of itself. It's not exploitable without other security flaws.
It can however help hackers find other pre-existing security issues.