{
  "id": "CVE-2018-1000861",
  "url": "https://poc.griffinguard.io/cve/CVE-2018-1000861",
  "published_at": "2018-12-10T14:00:00Z",
  "title": "Jenkins Stapler Web Framework Deserialization of Untrusted Data Vulnerability",
  "vendor": "Jenkins",
  "product": "Jenkins Stapler Web Framework",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": true,
    "added_at": "2022-02-10",
    "known_ransomware_campaign_use": "Unknown",
    "days_after_publication": 1158
  },
  "first_poc": {
    "created_at": "2019-05-22T20:03:05Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 163.3,
    "source": "metasploit",
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/jenkins_metaprogramming.rb"
  },
  "poc_repo_count": 3,
  "exploit_count": 2,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-502",
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [
    {
      "repo": "adamyordan/cve-2019-1003000-jenkins-rce-poc",
      "url": "https://github.com/adamyordan/cve-2019-1003000-jenkins-rce-poc",
      "created_at": "2019-02-15T05:59:24Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 315,
      "is_poc": "unknown",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2014-11-03T13:24:20Z"
    },
    {
      "repo": "1NTheKut/CVE-2019-1003000_RCE-DETECTION",
      "url": "https://github.com/1NTheKut/CVE-2019-1003000_RCE-DETECTION",
      "created_at": "2019-04-24T23:52:42Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 4,
      "is_poc": "unknown",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "skipped",
      "owner_created_at": "2017-03-07T07:18:52Z"
    },
    {
      "repo": "orangetw/awesome-jenkins-rce-2019",
      "url": "https://github.com/orangetw/awesome-jenkins-rce-2019",
      "created_at": "2019-05-08T13:52:08Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 608,
      "is_poc": "no",
      "kind": "list",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2013-03-08T05:08:34Z"
    },
    {
      "repo": "smokeintheshell/CVE-2018-1000861",
      "url": "https://github.com/smokeintheshell/CVE-2018-1000861",
      "created_at": "2023-09-13T18:52:33Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-05-11T17:08:17Z"
    },
    {
      "repo": "williams-surjanto/infrastructure_security",
      "url": "https://github.com/williams-surjanto/infrastructure_security",
      "created_at": "2025-08-06T14:48:22Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 8,
      "is_poc": "yes",
      "kind": "listed by PoC Index",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2017-02-21T01:19:33Z"
    },
    {
      "repo": "CyberCTF/vulhub-jenkins-cve-2018-1000861",
      "url": "https://github.com/CyberCTF/vulhub-jenkins-cve-2018-1000861",
      "created_at": "2026-10-08T06:56:55Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-12-01T11:12:42Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "org.jenkins-ci.main:jenkins-core",
        "ranges": [
          "\u003c 2.138.4"
        ],
        "fixed_in": [
          "2.138.4"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-hhpm-5cp2-hg4x"
      },
      {
        "vendor": "",
        "product": "org.jenkins-ci.main:jenkins-core",
        "ranges": [
          "\u003e= 2.140, \u003c 2.154"
        ],
        "fixed_in": [
          "2.154"
        ],
        "ecosystem": "Maven",
        "advisory": "GHSA-hhpm-5cp2-hg4x"
      }
    ],
    "upgrade": [
      "Upgrade org.jenkins-ci.main:jenkins-core to 2.138.4 or later.",
      "Upgrade org.jenkins-ci.main:jenkins-core to 2.154 or later."
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/jenkins_metaprogramming.rb",
      "source": "metasploit",
      "title": "Metasploit exploit: Jenkins ACL Bypass and Metaprogramming RCE (exploit/multi/http/jenkins_metaprogramming)",
      "published_at": "2019-05-22T20:03:05Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    },
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-1000861.yaml",
      "source": "nuclei",
      "title": "nuclei template: Jenkins - Remote Command Injection",
      "published_at": "2023-04-27T04:28:59Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/php/apt.gpg",
      "protocol": "https",
      "repos": [
        "williams-surjanto/infrastructure_security"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "williams-surjanto/infrastructure_security/02-vulnerability-analysis/01-intro-to-nuclei.md:310",
        "williams-surjanto/infrastructure_security/02-vulnerability-analysis/02-patch-vulnerable-docker.md:20",
        "williams-surjanto/infrastructure_security/02-vulnerability-analysis/02-patch-vulnerable-docker.md:58"
      ]
    },
    {
      "method": "GET",
      "path_template": "/securityRealm/user/admin/descriptorByName/org.jenkinsci.plugins.scriptsecurity.sandbox.groovy.SecureGroovyScript/checkScript",
      "query_markers": [
        "sandbox=true",
        "value="
      ],
      "protocol": "http",
      "repos": [
        "smokeintheshell/CVE-2018-1000861"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "smokeintheshell/CVE-2018-1000861/exploit.py:41"
      ]
    }
  ],
  "rules": []
}
