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.
→ More replies (7)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
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.
→ More replies (1)-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.
→ More replies (7)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?
→ More replies (3)
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
→ More replies (1)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.
→ More replies (2)-2
→ More replies (3)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?
-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.
→ More replies (3)-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??
→ More replies (2)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?
→ More replies (1)
-8
-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.
→ More replies (1)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.
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.
→ More replies (2)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!
→ More replies (1)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
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.