
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에서만 테스트했습니다.
