r/technology • • 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/
2.2k Upvotes

213 comments sorted by

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.

283

u/willydajackass Dec 21 '22

I am surprised no one hacks companies JIRA accounts to read the backlog of bugs for exploit opportunities.

583

u/chmod777 Dec 21 '22

Hacker: Haha! Yes! I'm in! .....wait, why do i have tickets assigned.

151

u/willydajackass Dec 21 '22

šŸ˜‚ Brutal Scrum Master!

12

u/sticky_banana Dec 22 '22

As a scrum master…I can say this would be ultimately satisfying

20

u/Hooligan8403 Dec 22 '22

Jira does not care to who the tickets flow just that they flow.

22

u/Goducks91 Dec 21 '22

Hahaha literally laughed out loud.

6

u/Anakin-skywalked Dec 22 '22

This comment made my night. Thank you!

160

u/Cutriss Dec 21 '22

That’s because even hackers are allergic to using Jira.

→ More replies (4)

114

u/dlepi24 Dec 21 '22

Nobody voluntarily wants to use JIRA.

48

u/des09 Dec 21 '22

And when they do, they can't find the important shit in there anyway.

7

u/aegrotatio Dec 21 '22

And when they do, they don't realize that Jira is not an acronym.

18

u/numbermess Dec 21 '22

J - Just

I - Open

R - Links

A - In a god damn new tab

→ More replies (2)

4

u/davix500 Dec 21 '22

I am living this right now

49

u/JinDenver Dec 21 '22

Oh is this where we’re pretending companies have backlogs organized and legible enough to find exploitable bugs?

20

u/willydajackass Dec 21 '22

Look for the Tech Debt tag by the developers. Or anything QA has raised.

13

u/krum Dec 21 '22

You guys have QA?

22

u/[deleted] Dec 21 '22

If you're a game dev in 2022, QA = preorder customers.

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

3

u/[deleted] Dec 21 '22

Good try head of outsourcing. We all know you just want somebody to fix the bugs for free.

4

u/zero0n3 Dec 21 '22

Why hack when you have plants in all the major companies?

→ More replies (1)

2

u/cuates_un_sol Dec 22 '22

* why no one reports on JIRA accounts being hacked

→ More replies (5)

13

u/ocelotsporn Dec 21 '22

Search for TODO:

10

u/FuckingTree Dec 21 '22

or "I don't know why this works but need it for prod"

4

u/kairos Dec 21 '22

"You should never reach this."

9

u/guntotingliberal223 Dec 21 '22

ā€œCall Seanā€ —an actual error message I have seen.

2

u/fartsinhissleep Dec 21 '22

That’s exactly what a cockroach would say

2

u/JohnSpikeKelly Dec 21 '22

Search code base for: // todo

It will be a good test of their technology at the very least.

0

u/[deleted] Dec 21 '22

[deleted]

16

u/youcandoit34 Dec 21 '22

It's not the people I know just purely think it's malware it's just a lot of open source stuff doesn't have the level of easily attainable support. I would much rather have a customer go with a proven commodity that is easy to get support on in a pinch then some open source software that may claim to be just as good, but we have no clue who's going to support it the day something happens.

22

u/anotherbozo Dec 21 '22

Open source doesn't mean only community maintained.

A commercial team can also maintain an open source product.

React comes to mind.

→ More replies (2)

12

u/KSRandom195 Dec 21 '22

The ā€œmany eyesā€ theory of open source security has been debunked many times. Being open source has no impact on the security characteristics of a software project.

→ More replies (15)

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

u/eliberatore Dec 21 '22

And many well known, large businesses.

5

u/[deleted] Dec 21 '22

My current and last two employers use Okta as their main SSO system. Fun!

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

u/MajorKoopa Dec 21 '22

Ruh roh. This okta be bigger news.

31

u/[deleted] Dec 21 '22

Oh good. This is fine.

14

u/[deleted] Dec 21 '22

This is hilarious ironic

6

u/snatchmachine Dec 21 '22

Nice my company just switched to them 6 months ago!

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

u/[deleted] 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

u/[deleted] 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

u/[deleted] Dec 22 '22

Yeah, it was Bing source. Literally nobody cared :-)

1

u/keesbrahh Dec 22 '22

They also leaked a data of over 65000 organizations back in October.

1

u/[deleted] Dec 22 '22

I didn’t hear about that one, do you have an article?

→ More replies (2)

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

u/[deleted] 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

u/[deleted] 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

u/[deleted] 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

u/ilickthings Dec 21 '22

That's a good security practice and not at all an Okta issue.

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

u/plenty_of_phish Dec 21 '22

and the stock is up 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

u/mddhdn55 Dec 21 '22

Anybody got a link? I would love to read through it

1

u/[deleted] Dec 21 '22

O damn! Not a strong Brand move

1

u/Pism0 Dec 21 '22

lol I initially read that as ā€œohios source codeā€

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

u/[deleted] Dec 21 '22

I take it you read, but didn't understand the article, if you think he's wrong

0

u/[deleted] 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

u/Lord_Derp_The_2nd Dec 21 '22

Guys being downvoted for being right. Oh, Reddit.

→ More replies (1)

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?

→ More replies (3)

-1

u/[deleted] Dec 21 '22

My college just made me set that up last week...

-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

u/[deleted] 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

u/No-Trifle-2405 Dec 21 '22

I use okta app for my work

-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

u/zetayshow Dec 21 '22

The end for them no?

6

u/ilickthings Dec 21 '22

Definitely not

0

u/[deleted] Dec 21 '22

[deleted]

404

u/nemanjoza946 Dec 21 '22

Opened* source

54

u/ryobiguy Dec 21 '22

Pwned Source

31

u/Krappatoa Dec 21 '22

O’pwned source

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

u/[deleted] 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.

→ More replies (1)

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

u/[deleted] 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!

→ More replies (1)

13

u/[deleted] 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

→ More replies (2)

4

u/[deleted] 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

u/28943857347372634648 Dec 21 '22

Don't use onelogin, it's dog shit and I see so many issues.

1

u/Zippy129 Dec 21 '22

Apparently Auth0 won’t be merging codebases with Okta, so they should still have an independent offering.

1

u/DoodMonkey Dec 22 '22

Don't get ahead of yourself. They all have issues.

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

u/[deleted] 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

u/[deleted] 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

u/[deleted] Dec 21 '22

nah keep your secrets

-18

u/[deleted] 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)