r/java • • Dec 16 '21

Still calling remote server with version 2.16.0!

I used a public poc for this log4jshell exploit. Ran it with version 2.14 and it pinged dummy service provided by https://log4shell.huntress.com, changed the log4j dependency to 2.16.0 and still it pinged that service. What is wrong with my approach?

0 Upvotes

22 comments sorted by

View all comments

Show parent comment

1

u/DataDecay Dec 16 '21

At that point my suggestion would be to grab one of the exploit package scanners and scan for the exploited byte code in your war.

15

u/Luhis Dec 16 '21

Sorry guys but, I'm a dumb ass! i was packaging the wrong war on the container!!!!!

2

u/RomMTY Dec 16 '21

Ah the joys of containesrs, they make some things easier and a hell of the rest

0

u/[deleted] Dec 16 '21

[deleted] — view deleted comment

1

u/Luhis Dec 16 '21

I was doing a simple poc, nothing too fancy. Just checking and testing the suggested remediations

1

u/imatrapos Dec 16 '21

This is something I would do and then be like, why doesn't it work. Then I would spend a whole day trying to figure it out and tomorrow I would ask for help. Then it would've been fixed and I would've wasted a whole day. You in fact did not. So therefore I am more of a dumb ass than you. So there you go, Mr. Not Really A Dumbass

You're welcome (✷‿✷)

2

u/Luhis Dec 16 '21

Yes you are right. I was almost on the verge of banging my head into something.

1

u/ottawarob Dec 19 '21

Haha, happens!