# N/A
## 概述
在Jenkins使用的Stapler Web框架中,存在一个代码执行漏洞。该漏洞允许攻击者通过访问精心设计的URL调用某些原本不应通过这种方式调用的Java对象方法。
## 影响版本
- Jenkins 2.153及更早版本
- Jenkins LTS 2.138.3及更早版本
## 细节
该漏洞存在于`stapler/core/src/main/java/org/kohsuke/stapler/MetaClass.java` 文件中。攻击者可以通过精心设计的URL调用某些Java对象的方法,而这些方法原本不应该以这种方式被调用。
## 影响
该漏洞可能导致远程代码执行,进而使攻击者可以在受影响的服务器上执行任意代码。
# | POC 描述 | 源链接 | 神龙链接 |
---|---|---|---|
1 | CVE-2018-1000861 Exploit | https://github.com/smokeintheshell/CVE-2018-1000861 | POC详情 |
2 | Jenkins 2.153 and earlier and LTS 2.138.3 and earlier are susceptible to a remote command injection via stapler/core/src/main/java/org/kohsuke/stapler/MetaClass.java that allows attackers to invoke some methods on Java objects by accessing crafted URLs that were not intended to be invoked this way. | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-1000861.yaml | POC详情 |
3 | None | https://github.com/Threekiii/Awesome-POC/blob/master/%E4%B8%AD%E9%97%B4%E4%BB%B6%E6%BC%8F%E6%B4%9E/Jenkins%20%E8%BF%9C%E7%A8%8B%E5%91%BD%E4%BB%A4%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E%20CVE-2018-1000861.md | POC详情 |
4 | None | https://github.com/Threekiii/Awesome-POC/blob/master/%E4%B8%AD%E9%97%B4%E4%BB%B6%E6%BC%8F%E6%B4%9E/Jenkins%20checkScript%20%E8%BF%9C%E7%A8%8B%E5%91%BD%E4%BB%A4%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E%20CVE-2018-1000861.md | POC详情 |
5 | None | https://github.com/chaitin/xray-plugins/blob/main/poc/manual/jenkins-cve-2018-1000861-rce.yml | POC详情 |
6 | https://github.com/vulhub/vulhub/blob/master/jenkins/CVE-2018-1000861/README.md | POC详情 |
暂无评论