CVE-2020-15767 in Gradle Enterprise
An issue was discovered in Gradle Enterprise before 2020.2.5. The cookie used to convey the CSRF prevention token is not annotated with the “secure” attribute, which allows an attacker with the ability to MITM plain HTTP requests to obtain it, if the user mistakenly uses a HTTP instead of HTTPS address to access the...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Gradle | Enterprise | < 2020.2.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
An issue was discovered in Gradle Enterprise before 2020.2.5. The cookie used to convey the CSRF prevention token is not annotated with the “secure” attribute, which allows an attacker with the ability to MITM plain HTTP requests to obtain it, if the user mistakenly uses a HTTP instead of HTTPS address to access the server. This cookie value could then be used to perform CSRF.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-15767 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-146306-M |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N |
| Published | 2020-09-18 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-311: CWE-311
Related attack patterns (CAPEC)
CAPEC-31 Accessing/Intercepting/Modifying HTTP Cookies via CWE-311
CAPEC-37 Retrieve Embedded Sensitive Data via CWE-311
CAPEC-65 Sniff Application Code via CWE-311
CAPEC-158 Sniffing Network Traffic via CWE-311
CAPEC-204 Lifting Sensitive Data Embedded in Cache via CWE-311
Show all 14
CAPEC-383 Harvesting Information via API Event Monitoring via CWE-311
CAPEC-385 Transaction or Event Tampering via Application API Manipulation via CWE-311
CAPEC-387 Navigation Remapping To Propagate Malicious Content via CWE-311
CAPEC-388 Application API Button Hijacking via CWE-311
CAPEC-477 Signature Spoofing by Mixing Signed and Unsigned Content via CWE-311
CAPEC-609 Cellular Traffic Intercept via CWE-311
CAPEC-157 Sniffing Attacks via CWE-311
CAPEC-384 Application API Message Manipulation via Man-in-the-Middle via CWE-311
CAPEC-386 Application API Navigation Remapping via CWE-311
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Gradle Enterprise before version 2020.2.5 allows attackers to obtain the CSRF prevention token via a man-in-the-middle (MITM) attack if the user accesses the server over HTTP instead of HTTPS. This token can then be used to perform Cross-Site Request Forgery (CSRF) attacks.
The vulnerability arises from the CSRF prevention token cookie not being marked with the 'secure' attribute. This omission allows the cookie to be transmitted over unencrypted HTTP connections, making it susceptible to interception by an attacker in a MITM position.
Questions
What is CVE-2020-15767?
A vulnerability in Gradle Enterprise before version 2020.2.5 allows attackers to obtain the CSRF prevention token via a man-in-the-middle (MITM) attack if the user accesses the server over HTTP instead of HTTPS. This token can then be used to perform Cross-Site Request Forgery (CSRF) attacks.
What is the CVSS score for CVE-2020-15767?
CVE-2020-15767 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N. EPSS: 0.5%.
Is CVE-2020-15767 actively exploited?
No confirmed active exploitation of CVE-2020-15767 as of 2026-09-25.
How do I remediate CVE-2020-15767?
Priority: MEDIUM. Advisory: https://security.gradle.com/advisory/CVE-2020-15767 PSIRT: [email protected]
What systems are affected by CVE-2020-15767?
CVE-2020-15767 affects Gradle Enterprise.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Gradle","product":"Enterprise","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.