25.03.2016 Views

Serial Killer Silently Pwning Your Java Endpoints

OWASPBNL_Java_Deserialization

OWASPBNL_Java_Deserialization

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Exis;ng Mi;ga;on Advice<br />

Simply remove gadget classes from ClassPath<br />

Blacklist & Whitelist based check at ObjectInputStream.resolveClass<br />

Different implementa@ons of this "Lookahead"-Deserializa@on exist:<br />

Use of ObjectInputStream subclass in applica@on’s deserializa@on code<br />

Agent-based (AOP-like) hooking of calls to ObjectInputStream.resolveClass()<br />

Ad hoc SecurityManager sandboxes during deserializa@on<br />

17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!