Log4J Vulnerability (Log4Shell) Explained - for Java developers

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ • 750

  • @DouglasRosser
    @DouglasRosser 3 роки тому +215

    Log4j 2.17 is out for vulnerabilities discovered in 2.16

    • @nardsalegre5659
      @nardsalegre5659 3 роки тому +3

      Pp

    • @abhishekbs9639
      @abhishekbs9639 3 роки тому +7

      Agree log4j 2.17 is out, but this is what I found in website:
      In version 2.12.2 (for Java 7), Log4j disables access to JNDI by default. Usage of JNDI in configuration now needs to be enabled explicitly. Calls to the JndiLookup will now return a constant string. Also, Log4j now limits the protocols by default to only java. The message lookups feature has been completely removed. Lookups in configuration still work.
      From version 2.16.0 (for Java 8), the message lookups feature has been completely removed. Lookups in configuration still work. Furthermore, Log4j now disables access to JNDI by default. Users are advised not to enable JNDI in Log4j 2.16.0. If the JMS Appender is required, use Log4j 2.12.2.

    • @nightcoder5k
      @nightcoder5k 3 роки тому

      Word!

    • @brunopaniaguajimenez7307
      @brunopaniaguajimenez7307 3 роки тому

      Yeah new patch coming

    • @TechTalksWithIrfan
      @TechTalksWithIrfan 3 роки тому

      @@abhishekbs9639 if may server is secure by vpn and other things like vpn , no port access from outside
      can still java application can get hacked ??

  • @mohammadwaseemraza2550
    @mohammadwaseemraza2550 3 роки тому +267

    I was not satisfied with other contents out there. The moment I noticed your video I was sure before watching that now I am going to get 101% correct understanding as usual. Thanks a lot Koushik!

    • @h4hashir
      @h4hashir 2 роки тому +1

      Agree with you brotha. U gotta love Koushik man… he the 🐐

    • @Si3r3
      @Si3r3 2 роки тому

      exactly the same here. This video gave me a lot of relief and I immediately subscribed for it.

    • @rembautimes8808
      @rembautimes8808 3 місяці тому

      Best video on the topic. Thanks for sharing your knowledge

  • @larsoleruben
    @larsoleruben 3 роки тому +2

    Your make a brilliant point. Often see huge companies tap into open source and brag about it, but forgetting to support the people actually doing it financially.

    • @ve2jgs
      @ve2jgs 3 роки тому

      Very true and these same companies often spend fortunes for mocrosoft and orakle product lockins and endless forced migrations.

  • @valardohaeris4937
    @valardohaeris4937 3 роки тому

    The way you ended the video with that thought provoking message is awesome

  • @puneetmishra545
    @puneetmishra545 3 роки тому +60

    I saw other videos on the same, but no one explained it better than you. Thanks a ton.. !!

  • @57thunderbolt
    @57thunderbolt 3 роки тому +40

    More than the knowledge on this topic, I am overwhelmed by your thought towards people contributing for open source tools/apps. Your thoughts towards open source community is SO PURE. KUDOS!!! It's not always MONEY that matters, by the way. People like you having such noble intent towards society and community. KEEP THIS SPIRIT ON!!! Thanks

  • @dinushkamahawedage3186
    @dinushkamahawedage3186 3 роки тому

    This is by far the best Log4J vulnerability explanation on the internet

  • @shantanusapru
    @shantanusapru Рік тому

    I am watching this almost more than a year after this was released (yup, I'm not a techie/tech geek), and I have watched quite a few videos trying to understand this issue (esp. for non-techies), and this is one of the best videos explaining this issue!! And this is coming from a non-technie! Kudos!

  • @ChiragVithlani
    @ChiragVithlani 3 роки тому +292

    You have superpower of explaining difficult things in easy words.
    Nicely explained that companies don't value for free open source stuff ( that reminds me we don't thank you enough for making such great free content 😊).
    Maybe 2nd version of this video would be (we always ask for more 😊).
    1. Live example showing same vulnerability in action.
    2. How exactly this issue is fixed. i.e. before and after comparison.

    • @shadabbahadara
      @shadabbahadara 3 роки тому

      Hi Koushik, could you share which microphone and recording software do you use for recording?

  • @rajanchauhan2425
    @rajanchauhan2425 2 роки тому

    I was watching this in Incognito mode but this explaination is so awesome that I had to come here to like it and comment on it. Awesome stuff. Thanks for all this effort.

  • @himanshutripathi7441
    @himanshutripathi7441 3 роки тому +1

    Came for the vulnerabilty ,
    Left with a beautiful message .
    Thank you .

  • @citizen8911
    @citizen8911 3 роки тому

    Kaushik your words are ultimate..you got to be the professor for all java developers as like in money heist serial.!

  • @MuztabaHasanat
    @MuztabaHasanat 3 роки тому +11

    The last part of the video regarding supporting open source software is really thoughtful. Thank you.

  • @JoeKme
    @JoeKme 2 роки тому

    Dude, that is hands-down the most informative, entertaining, and accurate description of the log4j vulnerability that I've enjoyed. Thanks!

  • @faziluddinshaik
    @faziluddinshaik 3 роки тому

    Your channel has been a single source of truth for all things Java for me for a very long time now. Thank you for the explanation.

  • @sumitdas-kr6fe
    @sumitdas-kr6fe 3 роки тому +14

    Thank you for explaining this. Especially the thought about many companies making money out of using open-source libraries but not giving back to the open-source volunteers.

  • @ideepakmathur
    @ideepakmathur 2 роки тому

    I love your way to talking and explaining things, keep this knowledge coming. many thanks

  • @gauravchauhan1645
    @gauravchauhan1645 3 роки тому +36

    Just like open source we have "stack overflow" people don't realize the efforts and time people devote to help this community to keep going, be its open source or helping some developer out, we must respect and do what ever we can in order to get things going.

  • @markmahowald7866
    @markmahowald7866 3 роки тому

    Thanks so much. I'm a c#/dotnet developer and I've seen my Java dev friends freaking out and now i get why.

  • @Blokelobster
    @Blokelobster 3 роки тому

    I am not an IT professional but I know people who are and frantically working to resolve there log4j issues. Atleast I know why now. This vid might be for java pros, but the explanation was clear even for a layman like me. Cheers!

  • @topaz_climber
    @topaz_climber 3 роки тому

    I’m a total layman on this and am just informing myself so that I understand what is happening with my work’s response to the vulnerability. Your content is so clear yet detailed. Absolutely fantastic.

  • @matteotony94
    @matteotony94 3 роки тому

    So far one of the best explanations I've heard about this issue. Great job. "When was it really exploited?" Yes, great question...

  • @karthikreddy2548
    @karthikreddy2548 3 роки тому

    One of the greatest explanations of this vulnerability

  • @vivekmishra007
    @vivekmishra007 3 роки тому +22

    Always comeback to learn from your tutorials from my early college days (around 2013-14). Kaushik you are really a great teacher who can convey the knowledge in simplified manner. Your view on Private companies donating money to these opensource project is spot on, but there is chances of these companies controlling the whole project and projecting their own agenda into it, so yes it would be great if we can support such projects financially but it's tricky one. Also I'm thankful for people like you who provide such a quality stuff, I have nothing but deep gratitude and I'm planning to become member of your channel to support what you're doing, keep doing this we need more people like you :)

  • @subhashishmitra3409
    @subhashishmitra3409 2 роки тому

    Tech part is very well explained - no doubts in it. There is the touchy note for the moral responsibility. Very well expressed as well. The businesses that aspire and build themselves on these open source tools are often making huge profits but fail to recognize these underpinning elements that made things possible. So yes, a kudos to you for bringing this up.

  • @rayster365
    @rayster365 3 роки тому +16

    Excellent presentation of the issue for technical and non-technical audiences. I am very impressed with your ability to explain topics.

    • @AntiAtheismIsUnstoppable
      @AntiAtheismIsUnstoppable 3 роки тому

      There is not general good PR in funding things like log4j because it is not something the general public will understand or even see as good. Compared to when companies fund general public needs, which everyone understands. In other words, things will get funded, if the general public understands why it is a good thing that the company funds it. So, it is not necessarily the companies which are evil, but funding something while getting nothing out of it (because your competitor does not fund it), will leave you with a loss.

  • @chandrasekhardadi6498
    @chandrasekhardadi6498 2 роки тому

    A big thank you. Kaushik for explaining issues bothering our teams.

  • @vicedev3389
    @vicedev3389 3 роки тому

    And it took these many years to know the existence of this vulnerability!!!
    Hats off!!

  • @i_am_the_world_citizen
    @i_am_the_world_citizen 3 роки тому +17

    Explained well. I like the "Support model" you were talking about.

  • @chinmayrath8494
    @chinmayrath8494 Рік тому

    The most epic explanation !! thank you, as a fellow Java dev, this is one of my fav Java channels

  • @сойка-и8й
    @сойка-и8й 3 роки тому +22

    6:15 So much backward compatibility that even my great grandmother code can work on latest version of jvm 🧐🧐🤣 this line got me 👑👑😆

  • @arkzbh
    @arkzbh 2 роки тому

    Our engineers promptly upgraded the version of log4j as soon as it came to light, I just came here to understand what exactly happened. But my biggest takeaway is what you said at the end. The moral responsibility.
    I am responsible for the modernization journey of one of the business unit for our company, and I always advocated to use only open source projects. Which was successfull. But, to my shame, yes, I never thought about this. We are a multi billion dollar org, and I'll make sure to have a conversation with the right people in our org chart to see if we can do our bits to support atleast the open source projects that we use. Thank you for your insight. ❤

  • @sud19891
    @sud19891 3 роки тому

    This is the only channel I would press the JOIN button for.

  • @davidbenchi7342
    @davidbenchi7342 3 роки тому +1

    This is the first time I see a video for you.... you are amazing... keep it this way.... You are really amazing... Bravo!

  • @engineeredarmy1152
    @engineeredarmy1152 3 роки тому +11

    0:01 Intro
    1:02 What is it
    1:42 Security vulnerability
    4:00 What exactly is the problem
    8:22 Example
    13:02 How to solve
    18:42 Reality
    20:34 Outro

  • @sarmadchandio1420
    @sarmadchandio1420 3 роки тому

    All things were explained well and with satisfaction.
    Well Koushik, I love your last statement and idea. Organizations should pay to open source communities.

  • @ncmuthu
    @ncmuthu 3 роки тому

    Got the clear picture about the vulnerability after watching your video. Thank you.

  • @geekengr
    @geekengr 3 роки тому +3

    I am impressed by the level of detail you put here. Thank you for sharing this. The amount of detail is awesome.

  • @jodokoodo8443
    @jodokoodo8443 3 роки тому

    your last message really touch me, it really rise a question on how we support open source. also stay strong for all java programmers out there, it's been a hard time especially near year end holidays

  • @bendego2800
    @bendego2800 3 роки тому +14

    AS usual, the best teacher out there, thanks Koushik!

  • @vidhyasagar1990
    @vidhyasagar1990 3 роки тому

    I was excited throughout the video just like him. The big companies took log4j and its security for granted. Not just 2020, even 2021 will be remembered in history.

  • @saccherine
    @saccherine 3 роки тому

    Brilliant Sir, I agree with you , enterprises should have responsibilitiy to fund , securing these open source software. After all they have made billions in using these libraries to develop & sell software all these years.

  • @thilankadeshan
    @thilankadeshan 3 роки тому

    That explains the problem very well rather than any other places I have seen. Thank you very much. And a very good point to be taken into thought at the end of your video. Big companies are making money out of open source projects and basically those open source projects contributed to the income they have made. Open source projects never mandates to pay them back if someone using their projects and making money out of it but those companies should have a self responsibility to contribute/fund back in the open source projects. Because there are number of people who are working to improve without getting paid a penny. Hats off for them. So the companies who never did their part, cannot blame at open source projects.

  • @ernstoud
    @ernstoud 3 роки тому +13

    Excellent talk.
    Always, always sanitize any input your application gets, from any source. Use one class that receives that input and filters it. I have seen clever programmers doing it that way. Every programmer should do this. My ISP’s router has such a vulnerability, my Xiaomi router has such a vulnerability. It is way too common.

    • @AshuGupta1
      @AshuGupta1 3 роки тому

      Logs have a special functionality. I don't think having a whitelist in logs is a good idea. I mean imagine an attacker trying to fudge your application everyday and you never know because you have a whitelist around it and one day he succeeds.

  • @JeffWolfram00
    @JeffWolfram00 3 роки тому

    Thanks for the great explanation of Log4J. I never really fully understood what it was till I watched this video. Thanks for taking the time to post it.

  • @anamulkabir1014
    @anamulkabir1014 3 роки тому

    You are 100% right, open sources should be funded by big corporations who depends on them for continuous development and vulnerability assessments

  • @suhasgoli
    @suhasgoli 3 роки тому

    Super easy and complete explanation of Log4j. I also support your view on open source, with adversaries on the lookout, from security perspective, it is definitely recommended to avoid open source where you can. You are exposed when the code is exposed.

  • @aroundomaha
    @aroundomaha 3 роки тому

    This was the best explanation of the weakness that I've found. Thank you. The bad news is that even if a large investment is made in open source today, it will take time to find and fix similar issues. The bad guys will be looking to not only exploit this issue, but be searching for similar ones and this creates a race condition in which they likely have a head start.

  • @muralinadhpampati
    @muralinadhpampati 3 роки тому

    Great video.. 👍👍👍
    Thank you for detail explanation..
    I agree with your point.. companies who are using log4j have moral obligation to support it.

  • @SattuSoni
    @SattuSoni 3 роки тому

    I am 100% agree with your last statement. Big companies should contribute to open source community, these biggies are already investing in PR. There should be competitive environment in these giants that how much they are contributing to the open source community.

  • @krishnabheemanakatte1985
    @krishnabheemanakatte1985 3 роки тому

    The best explanation about Log4J Vulnerability, Thank you for explaining fully

  • @Sasataf
    @Sasataf 3 роки тому

    Threw a like for your great grandmother being a long time Java coder.

  • @kareemjeiroudi1964
    @kareemjeiroudi1964 3 роки тому

    This guy has become my favorite in the java world

  • @MrLexdiamondz
    @MrLexdiamondz 3 роки тому

    I don’t write Java, so my opinion is as a non-user, but this explanation was phenomenal. Thank you for dropping knowledge on me

  • @HishanShouketh
    @HishanShouketh 3 роки тому +1

    Thank you for the great explanation, As a cyber security analyst this helped me alot to understand the problem in a clear way, and the way jndi works.
    ⭐️⭐️⭐️⭐️⭐️

  • @sagarkr4629
    @sagarkr4629 3 роки тому

    Kaushik bro , u make things so easy and interesting, video madiddakke dhanyavadagalu

  • @shreeram_kulkarni
    @shreeram_kulkarni 3 роки тому +9

    The only video on youtube with such comprehensiveness about this vulnerability. This is what makes Java Brains stand apart from other tech channels. Thanks Koushik !

  • @yumri4
    @yumri4 3 роки тому

    you were the first to explain how the exploit worked. I get it now and get why it will be hard to fix. It was found April 2021just like most things the person who found it let the community fix it and release a patch before saying it is a thing. The media got wind of a security patch for something almost all companies use a day before the patch was released. So it blew up in the media. The patch was not tested enough and a new exploit was put into it due to that. Secure code with 0 exploits is hard to write. You always have to depend on the dependency code to not have a exploit in it. The actual way to fix it is to get rid of all dependencies and write it that way. The down side will be bugs and exploits found in the parts needed from them will most likely be copied to it while the parts not needed will not be remade nor copied over to the library. It will also make a bigger library file due to everything needed to work being included in said file. It isn't how java is traditionally written either.

  • @ubergnu
    @ubergnu 3 роки тому

    As head developer of a document handling web application, I was the main target of frantic calls both internal and external. I didn't mind! It was one of those times when you could give a short definite answer that satisfied everyone. I wish all my support tickets were that way.

  • @mridulvishal
    @mridulvishal 3 роки тому +47

    Good technical explanation. Relevant facts around it and at last thought provoking discussion. This was really worth the time. please make a video on how to contribute to open source. please use any open source project as example . Thanks a lot again

  • @kylelopez9640
    @kylelopez9640 3 роки тому

    As a second year CS major, thank you, great video.

  • @vengateshm2122
    @vengateshm2122 3 роки тому +1

    Seen several video. But i felt complete on this issue once I saw this video from JavaBrain.

  • @ToBa2501
    @ToBa2501 2 роки тому

    Your explanation was compelling and precise. Short and very informative. Thanks for that. Well down, good job !!!

  • @Jenson-M-John
    @Jenson-M-John 3 роки тому

    Yes. Big (Atleast) Companies who uses Popular Open Source Applications need to Support them by fair funding.
    Kaushik, Good Explanation. 👍🏽👏🏽

  • @Hemantkumar7990
    @Hemantkumar7990 3 роки тому

    Kaushik hai to mumkin hai.
    Thanks Master.

  • @ruchikaahujaasm
    @ruchikaahujaasm 3 роки тому

    I totally agree with the argument that organizations in today's world are using lot of open source and making money out of it , so morally and ethically they can put some money back to the open source and make it more secure . Thank you for the great video.

  • @feldmesserjeremy3229
    @feldmesserjeremy3229 3 роки тому

    Thanks for clearly explaining the problem and the solutions available to a non-dev. I agree that open-source users should contribute back.

  • @wejdanm983
    @wejdanm983 3 роки тому

    Thank you so much for your explanation, I have red lots of articles to understand this Vulnerability but it was not absorbed till i saw this video

  • @manuagrawal7468
    @manuagrawal7468 3 роки тому +1

    Loved the last thoughtful arguments and questions in the end!! Great work!

  • @thegravatrax6461
    @thegravatrax6461 3 роки тому

    Good technical explanation. I myself as a budding developer have not gotten into logging (actually this whole vulnerability stuff has just made me more curious about it so down that rabbit hole I go lol) as of yet but once you brought things into context of SQL IAs I understood much better the implications. Thanks for the video.

  • @jojinmp
    @jojinmp 3 роки тому

    Great stuff..👏
    This is the best video I have seen this year in UA-cam..

  • @wasukalu
    @wasukalu 3 роки тому +6

    You are really a reliable source of education/reference in Java world by addressing current/trending issues with a great explanation video. Much appreciated & thanks for your great works. 🙏🏻

  •  3 роки тому +8

    Thanks for the crystal clear description of the problem. Not being a Java person myself, I had trouble understanding it first. It was not in my mind that a widely used Java lib could just like that interpret '${lookup}' stuff simply from user input. Even if there was no code injection possible, this is also a giant door open to DoS attacks as someone could just use a slow ldap and inject lookups just from the input. Forget ldap, jndi or whatever. Interpreting _anything_ , in _any_ way that can come from user is insecure in nature and should be done with extreme caution.

    • @testman9541
      @testman9541 3 роки тому

      Extreme caution = proper filtering and escaping to avoid injection. Something still not mandatory on most apps framework

  • @praveengoyal4043
    @praveengoyal4043 3 роки тому

    Explanation and support nd moral obligation logic is point to note by industry..

  • @hitesh29inin
    @hitesh29inin 3 роки тому

    Hi Koushik, you are always easy to understand. Thanks for sharing this. Opensource runs the entire world of technology and internet. Its high time for big companies earning billions and millions ,give it back to community. Hope to see have morale support for opensource volunteers and some business model to preserve this wonderful world of opensource.

  • @aakashmishra4451
    @aakashmishra4451 3 роки тому

    This is an impeccable video! Kudos, Koushik!

  • @sheldonfaria
    @sheldonfaria 3 роки тому

    Agree to all comments very very explained mate… we need a “Support Model” to support you

  • @diogennesthesinope61
    @diogennesthesinope61 3 роки тому

    Brilliant explanation. Thanks and though you said you are not a security expert, many of them on TV can hardly clarify it this way. The profit making companies will not spend to invest in open source. But stash their money in safe havens.

  • @iArpanMishra
    @iArpanMishra 3 роки тому +1

    Wonderful video Kaushik! Unparalleled quality content!

  • @iMentorCloud
    @iMentorCloud 3 роки тому

    This is where DevSecOps comes in. Secured by design and by default. good informative video.

  • @Mohammedaatif90
    @Mohammedaatif90 3 роки тому

    Thank you kaushik for that 9:30 explaination. Finally understood what that expression was being used.

  • @dhananajaykrishna8259
    @dhananajaykrishna8259 3 роки тому

    Such lucid explanation👏👏👏. Please make such videos on other outages and attacks. There are lot of people I know who would love to hear your POV on such topics.

  • @cheesesandwich1033
    @cheesesandwich1033 3 роки тому

    I work for Oracle’s hospitality solutions team. We just patched our software products for this vulnerablility. Mainly affected are payment interfaces we had to patch and we completed it late last week. The challenge was that many of our clients were on different versions of that affected payment interface so we had to upgrade all those clients to a specific minimal version of the interface and then backpatch to that. The solution and script was relatively easy. We mostly moved some files around without being able to get into too many details. Definitely not what we wanted before the holidays ;)

  • @rohanyadav7327
    @rohanyadav7327 3 роки тому +1

    I have been watching for this vulnerability and no one explains it that well on UA-cam. I think this video explained it very clearly and very good resource for tech people to get some understanding of this vulnerability.

  • @trishulsinghchoudhary1907
    @trishulsinghchoudhary1907 3 роки тому +3

    Finally someone whose explanation helped me !!

  • @kishore785
    @kishore785 3 роки тому

    Loved the explanation. Better is the final thoughts on supporting open source work.

  • @atifali7874
    @atifali7874 2 роки тому

    Thanks for this video Koushik. You are an amazing tutor

  • @AJ-fb9pk
    @AJ-fb9pk 3 роки тому +1

    This was probably the most detailed video on this topic. You covered everything from the technical aspects to the moral responsibily.
    I never actually considered the thought about these corporates taking some responsibility in funding these open source projects using which they are making millions from.
    A thought to ponder upon.

  • @rghatkari
    @rghatkari 3 роки тому

    I was really waiting for your video about this vulnerability issue. Thanks lot 😊

  • @omenrick
    @omenrick 3 роки тому

    easily the best video i've seen on this topic!

  • @richardurena5867
    @richardurena5867 3 роки тому +1

    As always this is the best explanation and good thoughts on open source

  • @steamlabstech
    @steamlabstech 3 роки тому +1

    Excellent explanation, my team of pen testers have been ensuring our systems are patched, this is by far one of the best examples, I will be doing a walkthrough of Log4j in a week in our channel to help our student base. Keep up the great work

  • @vrajpal-jhala
    @vrajpal-jhala 3 роки тому

    Wow Kaushik, I really liked the ending statement. You saw what I couldn't see, the big picture.

  • @uncleelder4922
    @uncleelder4922 Рік тому

    Most useful explanation I've seen. Thanks!

  • @geoffwinkworth9314
    @geoffwinkworth9314 3 роки тому

    Exquisitely explained - thank you!! You just got another subscriber!

  • @maheswarbehera1
    @maheswarbehera1 2 роки тому

    Excellent explanation with real time example.

  • @muhammadarifulislam7159
    @muhammadarifulislam7159 3 роки тому

    Amazing delivery with rich content. Love it! Thanks a lot.

  • @SureshJayanthi1972
    @SureshJayanthi1972 3 роки тому

    Crisp and clear explanation ending with some thought provoking questions. 👏

  • @soheilpro2015
    @soheilpro2015 3 роки тому

    Thanks so Much, one of the best explanations of the vulnerability.

  • @Evilasdevil
    @Evilasdevil 3 роки тому

    Thank you for sharing it, I believe soon people will found some permanent solution instead of workaround