Log4J Vulnerability (Log4Shell) Explained - for Java developers

  Рет қаралды 729,951

Java Brains

Java Brains

Күн бұрын

Learn exactly what the Log4J vulnerability is, including Java code and the attach details. I also share some thoughts on open source in general.
Video explaining Java logging libraries: • Logback vs SLF4J vs Lo...
Join this channel to get access to perks:
/ @java.brains

Пікірлер: 752
@DouglasRosser
@DouglasRosser 2 жыл бұрын
Log4j 2.17 is out for vulnerabilities discovered in 2.16
@nardsalegre5659
@nardsalegre5659 2 жыл бұрын
Pp
@abhishekbs9639
@abhishekbs9639 2 жыл бұрын
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 2 жыл бұрын
Word!
@brunopaniaguajimenez7307
@brunopaniaguajimenez7307 2 жыл бұрын
Yeah new patch coming
@TechTalksWithIrfan
@TechTalksWithIrfan 2 жыл бұрын
@@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 2 жыл бұрын
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 жыл бұрын
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 Ай бұрын
Best video on the topic. Thanks for sharing your knowledge
@ChiragVithlani
@ChiragVithlani 2 жыл бұрын
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 2 жыл бұрын
Hi Koushik, could you share which microphone and recording software do you use for recording?
@puneetmishra545
@puneetmishra545 2 жыл бұрын
I saw other videos on the same, but no one explained it better than you. Thanks a ton.. !!
@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 2 жыл бұрын
Came for the vulnerabilty , Left with a beautiful message . Thank you .
@larsoleruben
@larsoleruben 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 2 жыл бұрын
Very true and these same companies often spend fortunes for mocrosoft and orakle product lockins and endless forced migrations.
@MuztabaHasanat
@MuztabaHasanat 2 жыл бұрын
The last part of the video regarding supporting open source software is really thoughtful. Thank you.
@citizen8911
@citizen8911 2 жыл бұрын
Kaushik your words are ultimate..you got to be the professor for all java developers as like in money heist serial.!
@57thunderbolt
@57thunderbolt 2 жыл бұрын
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
@valardohaeris4937
@valardohaeris4937 2 жыл бұрын
The way you ended the video with that thought provoking message is awesome
@sumitdas-kr6fe
@sumitdas-kr6fe 2 жыл бұрын
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.
@dinushkamahawedage3186
@dinushkamahawedage3186 2 жыл бұрын
This is by far the best Log4J vulnerability explanation on the internet
@gauravchauhan1645
@gauravchauhan1645 2 жыл бұрын
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.
@сойка-и8й
@сойка-и8й 2 жыл бұрын
6:15 So much backward compatibility that even my great grandmother code can work on latest version of jvm 🧐🧐🤣 this line got me 👑👑😆
@i_am_the_world_citizen
@i_am_the_world_citizen 2 жыл бұрын
Explained well. I like the "Support model" you were talking about.
@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!
@ideepakmathur
@ideepakmathur 2 жыл бұрын
I love your way to talking and explaining things, keep this knowledge coming. many thanks
@topaz_climber
@topaz_climber 2 жыл бұрын
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.
@JoeKme
@JoeKme Жыл бұрын
Dude, that is hands-down the most informative, entertaining, and accurate description of the log4j vulnerability that I've enjoyed. Thanks!
@faziluddinshaik
@faziluddinshaik 2 жыл бұрын
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.
@matteotony94
@matteotony94 2 жыл бұрын
So far one of the best explanations I've heard about this issue. Great job. "When was it really exploited?" Yes, great question...
@rayster365
@rayster365 2 жыл бұрын
Excellent presentation of the issue for technical and non-technical audiences. I am very impressed with your ability to explain topics.
@AntiAtheismIsUnstoppable
@AntiAtheismIsUnstoppable 2 жыл бұрын
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 2 жыл бұрын
And it took these many years to know the existence of this vulnerability!!! Hats off!!
@bendego2800
@bendego2800 2 жыл бұрын
AS usual, the best teacher out there, thanks Koushik!
@ncmuthu
@ncmuthu 2 жыл бұрын
Got the clear picture about the vulnerability after watching your video. Thank you.
@wasukalu
@wasukalu 2 жыл бұрын
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. 🙏🏻
@Blokelobster
@Blokelobster 2 жыл бұрын
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!
@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.
@chinmayrath8494
@chinmayrath8494 Жыл бұрын
The most epic explanation !! thank you, as a fellow Java dev, this is one of my fav Java channels
@JeffWolfram00
@JeffWolfram00 2 жыл бұрын
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.
@sarmadchandio1420
@sarmadchandio1420 2 жыл бұрын
All things were explained well and with satisfaction. Well Koushik, I love your last statement and idea. Organizations should pay to open source communities.
@vivekmishra007
@vivekmishra007 2 жыл бұрын
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 :)
@karthikreddy2548
@karthikreddy2548 2 жыл бұрын
One of the greatest explanations of this vulnerability
@ernstoud
@ernstoud 2 жыл бұрын
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 2 жыл бұрын
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.
@vidhyasagar1990
@vidhyasagar1990 2 жыл бұрын
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.
@mridulvishal
@mridulvishal 2 жыл бұрын
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
@Sasataf
@Sasataf 2 жыл бұрын
Threw a like for your great grandmother being a long time Java coder.
@geekengr
@geekengr 2 жыл бұрын
I am impressed by the level of detail you put here. Thank you for sharing this. The amount of detail is awesome.
@christopheracob3689
@christopheracob3689 2 жыл бұрын
Now I know better, thanks for your clear explanation.
@sud19891
@sud19891 2 жыл бұрын
This is the only channel I would press the JOIN button for.
@praveengoyal4043
@praveengoyal4043 2 жыл бұрын
Explanation and support nd moral obligation logic is point to note by industry..
@krishnabheemanakatte1985
@krishnabheemanakatte1985 2 жыл бұрын
The best explanation about Log4J Vulnerability, Thank you for explaining fully
@jodokoodo8443
@jodokoodo8443 2 жыл бұрын
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
@jojinmp
@jojinmp 2 жыл бұрын
Great stuff..👏 This is the best video I have seen this year in KZbin..
@davidbenchi7342
@davidbenchi7342 2 жыл бұрын
This is the first time I see a video for you.... you are amazing... keep it this way.... You are really amazing... Bravo!
@HishanShouketh
@HishanShouketh 2 жыл бұрын
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. ⭐️⭐️⭐️⭐️⭐️
@ToBa2501
@ToBa2501 2 жыл бұрын
Your explanation was compelling and precise. Short and very informative. Thanks for that. Well down, good job !!!
@uncleelder4922
@uncleelder4922 Жыл бұрын
Most useful explanation I've seen. Thanks!
@geoffwinkworth9314
@geoffwinkworth9314 2 жыл бұрын
Exquisitely explained - thank you!! You just got another subscriber!
@manuagrawal7468
@manuagrawal7468 2 жыл бұрын
Loved the last thoughtful arguments and questions in the end!! Great work!
2 жыл бұрын
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 2 жыл бұрын
Extreme caution = proper filtering and escaping to avoid injection. Something still not mandatory on most apps framework
@markmahowald7866
@markmahowald7866 2 жыл бұрын
Thanks so much. I'm a c#/dotnet developer and I've seen my Java dev friends freaking out and now i get why.
@wejdanm983
@wejdanm983 2 жыл бұрын
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
@kishore785
@kishore785 2 жыл бұрын
Loved the explanation. Better is the final thoughts on supporting open source work.
@aroundomaha
@aroundomaha 2 жыл бұрын
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.
@atifali7874
@atifali7874 2 жыл бұрын
Thanks for this video Koushik. You are an amazing tutor
@maheswarbehera1
@maheswarbehera1 2 жыл бұрын
Excellent explanation with real time example.
@salmanhasanuddin8640
@salmanhasanuddin8640 2 жыл бұрын
Thank you. Your explanation was compelling and precise
@suhasgoli
@suhasgoli 2 жыл бұрын
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.
@MrLexdiamondz
@MrLexdiamondz 2 жыл бұрын
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
@vengateshm2122
@vengateshm2122 2 жыл бұрын
Seen several video. But i felt complete on this issue once I saw this video from JavaBrain.
@thilankadeshan
@thilankadeshan 2 жыл бұрын
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.
@sagarkr4629
@sagarkr4629 2 жыл бұрын
Kaushik bro , u make things so easy and interesting, video madiddakke dhanyavadagalu
@i_am_dumb1070
@i_am_dumb1070 Жыл бұрын
This is the best video on this vulnerability so thankyou you very much
@muralinadhpampati
@muralinadhpampati 2 жыл бұрын
Great video.. 👍👍👍 Thank you for detail explanation.. I agree with your point.. companies who are using log4j have moral obligation to support it.
@feldmesserjeremy3229
@feldmesserjeremy3229 2 жыл бұрын
Thanks for clearly explaining the problem and the solutions available to a non-dev. I agree that open-source users should contribute back.
@shubhanshuupadhyay8167
@shubhanshuupadhyay8167 2 жыл бұрын
Excellent explanation done by you. Thanks for such an informative video.
@kareemjeiroudi1964
@kareemjeiroudi1964 2 жыл бұрын
This guy has become my favorite in the java world
@ubergnu
@ubergnu 2 жыл бұрын
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.
@renubisht3786
@renubisht3786 2 жыл бұрын
Best content by best mentor. Thanks a lot
@kylelopez9640
@kylelopez9640 2 жыл бұрын
As a second year CS major, thank you, great video.
@Mohammedaatif90
@Mohammedaatif90 2 жыл бұрын
Thank you kaushik for that 9:30 explaination. Finally understood what that expression was being used.
@SattuSoni
@SattuSoni 2 жыл бұрын
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.
@soheilpro2015
@soheilpro2015 2 жыл бұрын
Thanks so Much, one of the best explanations of the vulnerability.
@marksmith6989
@marksmith6989 2 жыл бұрын
Great video. Very informative especially the question on OSS...
@saccherine
@saccherine 2 жыл бұрын
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.
@peripona
@peripona 2 жыл бұрын
Wow, well explained all the parts in the video. Thanks.
@rupeshravi
@rupeshravi 2 жыл бұрын
Superb explanation. I have been following you for some time now. Man you a r damn good
@Hemantkumar7990
@Hemantkumar7990 2 жыл бұрын
Kaushik hai to mumkin hai. Thanks Master.
@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. ❤
@shreeram_kulkarni
@shreeram_kulkarni 2 жыл бұрын
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 !
@omenrick
@omenrick 2 жыл бұрын
easily the best video i've seen on this topic!
@thegravatrax6461
@thegravatrax6461 2 жыл бұрын
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.
@aakashmishra4451
@aakashmishra4451 2 жыл бұрын
This is an impeccable video! Kudos, Koushik!
@rajeshghatkari6536
@rajeshghatkari6536 2 жыл бұрын
I was really waiting for your video about this vulnerability issue. Thanks lot 😊
@trishulsinghchoudhary1907
@trishulsinghchoudhary1907 2 жыл бұрын
Finally someone whose explanation helped me !!
@vjnvisakh
@vjnvisakh 2 жыл бұрын
Loved the last part of moral responsibility. Subscribeedddddddddddddddddd!!!
@iArpanMishra
@iArpanMishra 2 жыл бұрын
Wonderful video Kaushik! Unparalleled quality content!
@annieborah
@annieborah 2 жыл бұрын
Thank you for explaining this so well. Grateful to you 😀
@vrajpal-jhala
@vrajpal-jhala 2 жыл бұрын
Wow Kaushik, I really liked the ending statement. You saw what I couldn't see, the big picture.
@SureshJayanthi1972
@SureshJayanthi1972 2 жыл бұрын
Crisp and clear explanation ending with some thought provoking questions. 👏
@richardurena5867
@richardurena5867 2 жыл бұрын
As always this is the best explanation and good thoughts on open source
@manikandang7864
@manikandang7864 2 жыл бұрын
Nicely explained with simple words. keep up the good work sir
@siddharthajha07
@siddharthajha07 2 жыл бұрын
You explained it in a concise and subtle manner. Thanks!
@anamulkabir1014
@anamulkabir1014 2 жыл бұрын
You are 100% right, open sources should be funded by big corporations who depends on them for continuous development and vulnerability assessments
@manaslovesbirds
@manaslovesbirds 2 жыл бұрын
SQLInjection is the 1st thing that came into my mind when I learnt about it
@nramca
@nramca 2 жыл бұрын
Talk about simplifying.. excellent explanation Kaushik! Thank you 🙏🏼
@iMentorCloud
@iMentorCloud 2 жыл бұрын
This is where DevSecOps comes in. Secured by design and by default. good informative video.
Log4J & JNDI Exploit: Why So Bad? - Computerphile
26:31
Computerphile
Рет қаралды 499 М.
What is JWT? JSON Web Tokens Explained (Java Brains)
14:53
Java Brains
Рет қаралды 1 МЛН
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 13 МЛН
pumpkins #shorts
00:39
Mr DegrEE
Рет қаралды 62 МЛН
What is API gateway really all about? Java Brains - Brain Bytes
8:56
What Everyone Missed About The Linux Hack
20:24
Theo - t3․gg
Рет қаралды 286 М.
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,5 МЛН
Why Isn't Functional Programming the Norm? - Richard Feldman
46:09
Why software development has become stressful
19:02
Java Brains
Рет қаралды 19 М.
Log4j Lookups in Depth // Log4Shell CVE-2021-44228 - Part 2
16:07
LiveOverflow
Рет қаралды 69 М.
Kubernetes Explained in 15 Minutes | Hands On (2024 Edition)
15:18
Travis Media
Рет қаралды 92 М.
What is OAuth really all about - OAuth tutorial - Java Brains
10:56
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 13 МЛН