Exploit database

Vulnerability

CVE-2018-1000861

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Description

A code execution vulnerability exists in the Stapler web framework used by Jenkins 2.153 and earlier, LTS 2.138.3 and earlier in 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.

CVE Program

Exploit source choices

13 sources
Jenkins ACL Bypass and Metaprogramming RCE
MSF-multi--http--jenkins_metaprogrammingMetasploitJava,Unix / remotePreferred

This module exploits a vulnerability in Jenkins dynamic routing to bypass the Overall/Read ACL and leverage Groovy metaprogramming to download and execute a malicious JAR file. When the "Java Dropper" target is selected, the original entry point based on classLoader.parseClass is used, which requires the use of Groovy metaprogramming to achieve RCE. When the "Unix In-Memory" target is selected, a newer, higher-level, and more universal entry point based on GroovyShell.parse is used. This permits the use of in-memory arbitrary command execution. The ACL bypass gadget is specific to Jenkins <= 2.137 and will not work on later versions of Jenkins. Tested against Jenkins 2.137 and Pipeline: Groovy Plugin 2.61.

2019-01-08jenkins_metaprogramming.rb
adamyordan/cve-2019-1003000-jenkins-rce-poc
GH-c8e6cacad977ea93af3bd960d3286ed0GitHubUnofficial GitHub source

Jenkins RCE Proof-of-Concept: SECURITY-1266 / CVE-2019-1003000 (Script Security), CVE-2019-1003001 (Pipeline: Groovy), CVE-2019-1003002 (Pipeline: Declarative)

2019-02-152,639 files · 314 stars
4ra1n/poc-runner
GH-1f4553122794a70770b1a65fb8e73f35GitHubUnofficial GitHub source

Small & Fast Vulnerability Scanner Engine based on XRAY YAML Rule | 基于 XRAY YAML 规则的超轻量快速漏洞扫描引擎 | 基于 ANTLR 实现语法分析和完整的 XRAY YAML 规则实现 | 简单的启动参数 | 包含多种反连可用 | 可执行文件体积仅 2 MB

2024-08-26161 files · 178 stars
clincat/vulcat
GH-a6bec4ad14291e9330f3f036dc243bf2GitHubUnofficial GitHub source

vulcat可用于扫描Web端常见的CVE、CNVD等编号的漏洞,发现漏洞时会返回Payload信息。部分漏洞还支持命令行交互模式,可以持续利用漏洞

2022-04-10228 files · 133 stars
arpsyndicate/kenzer-templates
GH-e5a0867366963da7a3617cf6f32fda4bGitHubUnofficial GitHub source

essential templates for kenzer [DEPRECATED]

2020-09-185,308 files · 118 stars
deadbits/yara-rules
GH-e8671dce8854dd032511680e78738fe8GitHubUnofficial GitHub source

Collection of YARA signatures from individual research

2019-07-0929 files · 45 stars
cnhack3r/penetration_poc
GH-fdd34977de44cc5d80df5c3881fca455GitHubUnofficial GitHub source

FROM:@Mr-xn 渗透测试有关的POC、EXP、脚本、提权、小工具等---About penetration-testing python-script poc getshell csrf xss cms php-getshell domainmod-xss penetration-testing-poc csrf-webshell cobub-razor cve rce sql sql-poc poc-exp bypass oa-getshell cve-cms

2022-01-11319 files · 23 stars
1nthekut/cve-2019-1003000_rce-detection
GH-ab02fb9c4521857118a3b69154360547GitHubUnofficial GitHub source

A C# module to detect if a Jenkins server is vulnerable to the RCE vulnerability found in CVE-2019-1003000 (chained with CVE-2018-1000861 for pre-auth RCE)

2019-04-245,597 files · 4 stars
7roublemaker/jenkins_check
GH-14c17376011bf64819c48f6575cf23f3GitHubUnofficial GitHub source

7roublemaker/jenkins_check source repository

2021-06-112 files · 1 stars
brunsu/woodswiki
GH-f3660552a0a96da2b9e1d1390d991a4dGitHubUnofficial GitHub source

brunsu/woodswiki source repository

2022-09-233 files · 0 stars
cyberctf/vulhub-jenkins-cve-2018-1000861
GH-77a605c12b5cf3c6a2f95135167d9086GitHubUnofficial GitHub source

Vulhub jenkins/CVE-2018-1000861: Jenkins Stapler unauthenticated RCE, run with Isoloom

2026-10-0821 files · 0 stars
cyberharsh/jenkins1000861
GH-ddedebc87ac2050cfc0740e00793d507GitHubUnofficial GitHub source

cyberharsh/jenkins1000861 source repository

2020-09-037 files · 0 stars
d4n-sec/d4n-sec.github.io
GH-a977c770ad0cb70a8725a440ce0aeba7GitHubUnofficial GitHub source

Generated personal blog

2026-11-06385 files · 0 stars