
Weblogic com.tangosol.util.extractor.ReflectionExtractor RCE
Weblogic com.tangosol.util.extractor.ReflectionExtractor RCE
com.supeream.CVE_2020_2555
/*
* author:Y4er.com
*
* gadget:
* BadAttributeValueExpException.readObject()
* com.tangosol.util.filter.LimitFilter.toString()
* com.tangosol.util.extractor.ChainedExtractor.extract()
* com.tangosol.util.extractor.ReflectionExtractor.extract()
* Method.invoke()
* ...
* Runtime.getRuntime.exec()
*/
これはJDK 8u76およびセキュリティマネージャーなしでのみ動作します。その理由は、以下の BadAttributeValueExpException にあります。
https://github.com/JetBrains/jdk8u_jdk/commit/af2361ee2878302012214299036b3a8b4ed36974#diff-f89b1641c408b60efe29ee513b3d22ffR70
また、coherence.jar をあなたのweblogicのバージョンに置き換えてください。そうしないと、serialVersionUID不一致エラーが発生します。
Centos jdk8u202 Weblogic 12.2.1.4でのみテスト済みです。
