风行未来oracle,oracle 7月份更新CVE-2020-14645 复现&利用

简介

该漏洞针对gadget cve-2020-2555 绕过利用。

分析

com.tangosol.util.extractor.UniversalExtractor代码如下

public UniversalExtractor() {

this.m_sNameCanon = null;

}

public UniversalExtractor(String sName) {

this(sName, (Object[])null, 0);

}

public UniversalExtractor(String sName, Object[] aoParam) {

this(sName, aoParam, 0);

}

@JsonbCreator

public UniversalExtractor(@JsonbProperty("name") String sName, @JsonbProperty("params") Object[] aoParam, @JsonbProperty("target") int nTarget) {

this.m_sNameCanon = null;

azzert(sName != null);

if (aoParam != null && aoParam.length > 0 && !sName.endsWith("()")) {

throw new IllegalArgumentException("UniversalExtractor constructor: parameter sName[value:" + sName + "] must end with method suffix \"" + "()" + "\" when optional parameters provided");

} else {

this.m_sName = sName;

this.m_aoParam = aoParam;

this.m_nTarget = nTarget;

this.init();

}

}

public E extract(T oTarget) {

if (oTarget == null) {

return null;

} else {

TargetReflectionDescriptor targetPrev = this.m_cacheTarget;

try {

if (targetPrev != null && oTarget.getClass() == targetPrev.getTargetClass()) {

return targetPrev.isMap() ? ((Map)oTarget).get(this.getCanonicalName()) : targetPrev.getMethod().invoke(oTarget, this.m_aoParam);

} else {

return this.extractComplex(oTarget);

}

} catch (NullPointerException var4) {

throw new RuntimeException(this.suggestExtractFailureCause(oTarget.getClass()));

} catch (Exception var5) {

throw ensureRuntimeException(var5, oTarget.getClass().getName() + this + '(' + oTarget + ')');

}

}

}

从代码可以看出,与cve-2020-2555 类似

利用

只需要修改cve 2020-2555 gadget的最后一环为该类即可

后期有时间的话,可能会放出针对这次weblogic更新的利用工具

2020071518585564805jgk0l9xb6enhe_0.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值