Skip to content
/ serjs Public

A Java serializer in JavaScript

License

Notifications You must be signed in to change notification settings

mbechler/serjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Java serializer in JavaScript

Implementation of native Java serialization in JavaScript. Also includes two deserialization payload generators (as seen on ysoserial: JRMPClient and a JNDI variant of CommonBeanutils1) as well as a PoC for CVE-2018-2800:

Up to the April 2018 CPU (6u191, 7u181, 8u171) Java's RMI endpoints allowed HTTP tunneling of requests. Failing to implement further restrictions on these requests it was possible to perform them as cross-origin requests from third-party websites. This makes it possible to exploit otherwise unreachable RMI endpoints.

Blog post with some more info

Disclaimer

All information and code is provided solely for educational purposes and/or testing your own systems for these vulnerabilities.

Notes

Some browsers/browser plugins may implement further restrictions trying to disallow requests to local networks.

The JMX/RMI PoC vectors have already been addressed in an earlier Java release.

About

A Java serializer in JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published