Security Vulnerability Report
中文
CVE-2025-64135 CVSS 5.9 MEDIUM

CVE-2025-64135

Published: 2025-10-29 14:15:58
Last Modified: 2025-12-22 15:23:38

Description

Jenkins Eggplant Runner Plugin 0.0.1.301.v963cffe8ddb_8 and earlier sets the Java system property `jdk.http.auth.tunneling.disabledSchemes` to an empty value, disabling a protection mechanism of the Java runtime.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:jenkins:eggplant_runner:*:*:*:*:*:jenkins:*:* - VULNERABLE
Jenkins Eggplant Runner Plugin <= 0.0.1.301.v963cffe8ddb_8

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-64135 PoC - Jenkins Eggplant Runner Plugin配置错误验证 // 此PoC演示如何检测jdk.http.auth.tunneling.disabledSchemes属性配置 import java.lang.reflect.Field; public class CVE_2025_64135_POC { public static void main(String[] args) { try { // 获取系统属性jdk.http.auth.tunneling.disabledSchemes String disabledSchemes = System.getProperty("jdk.http.auth.tunneling.disabledSchemes"); System.out.println("=== CVE-2025-64135 Detection ==="); System.out.println("Property: jdk.http.auth.tunneling.disabledSchemes"); System.out.println("Current Value: " + (disabledSchemes == null ? "null" : "\"" + disabledSchemes + "\"")); // 检测漏洞:如果属性值为空字符串,则存在漏洞 if (disabledSchemes != null && disabledSchemes.isEmpty()) { System.out.println("[VULNERABLE] The property is set to empty string!"); System.out.println("[VULNERABLE] All authentication schemes are allowed for proxy tunneling."); System.out.println("[VULNERABLE] This may allow credential theft via proxy authentication."); } else if (disabledSchemes == null) { System.out.println("[SAFE] Property not set, using default Java security settings."); } else { System.out.println("[INFO] Allowed schemes: " + disabledSchemes); } // 使用反射检查Authenticator默认值 Class<?> authClass = Class.forName("sun.net.www.protocol.http.AuthenticatorImpl"); Field defaultSchemesField = authClass.getDeclaredField("defaultSchemes"); defaultSchemesField.setAccessible(true); System.out.println("\nDefault allowed authentication schemes: " + defaultSchemesField.get(null)); } catch (Exception e) { System.out.println("Error during detection: " + e.getMessage()); e.printStackTrace(); } } } // 修复验证脚本(检查插件版本) /* // 检查Jenkins插件版本 import hudson.plugins.eggplantrunner.EggplantRunnerPlugin; if (EggplantRunnerPlugin.getVersion().compareTo("0.0.1.302.v7d9a_09b_60b_b_") < 0) { throw new SecurityException("CVE-2025-64135: Vulnerable plugin version detected"); } */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64135", "sourceIdentifier": "[email protected]", "published": "2025-10-29T14:15:57.773", "lastModified": "2025-12-22T15:23:37.557", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Jenkins Eggplant Runner Plugin 0.0.1.301.v963cffe8ddb_8 and earlier sets the Java system property `jdk.http.auth.tunneling.disabledSchemes` to an empty value, disabling a protection mechanism of the Java runtime."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N", "baseScore": 5.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.2, "impactScore": 3.6}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-1188"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:jenkins:eggplant_runner:*:*:*:*:*:jenkins:*:*", "versionEndIncluding": "0.0.1.301.v963cffe8ddb_8", "matchCriteriaId": "6F73F12D-2FAA-4D54-BA63-8F33E504D03E"}]}]}], "references": [{"url": "https://www.jenkins.io/security/advisory/2025-10-29/#SECURITY-3326", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "http://www.openwall.com/lists/oss-security/2025/10/29/2", "source": "af854a3a-2127-422b-91ae-364da2661108", "tags": ["Mailing List", "Third Party Advisory"]}]}}