jenkins-script: Jenkins - Remote Code Execution

日期: 2025-08-01 | 影响软件: Jenkins | POC: 已公开

漏洞描述

Jenkins is susceptible to a remote code execution vulnerability due to accessible script functionality.

PoC代码[已公开]

id: jenkins-script

info:
  name: Jenkins - Remote Code Execution
  author: philippedelteil,DhiyaneshDK
  severity: critical
  description: |
    Jenkins is susceptible to a remote code execution vulnerability due to accessible script functionality.
  reference:
    - https://hackerone.com/reports/403402
    - https://medium.com/@gokulsspace/the-30000-bounty-affair-3f025ee6b834
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cwe-id: CWE-77
  metadata:
    max-request: 2
  tags: devops,hackerone,jenkins,rce,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/script/"
      - "{{BaseURL}}/jenkins/script"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "println(Jenkins.instance.pluginManager.plugins)"

      - type: word
        part: body
        words:
          - "Script Console"
          - "Scriptconsole"
        condition: or

      - type: status
        status:
          - 200
# digest: 4a0a004730450220416ab582c0f5d3cc2132e2c99b948aefefd8107031c7c96e83a474aef7a5dd2f022100e5c425174d28c7d5c80d1c16c38e6f89445e6be69bef90725ce03fa1c6a850f0:922c64590222798bb761d5b6d8e72950

相关漏洞推荐