CVE-2018-1000185 Jenkins GitHub Branch Source Plugin vulnerable to Server-Side Request Forgery
Attackers with read access can force Jenkins to send GET requests to arbitrary URLs via the GitHub Branch Source Plugin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-1000185?
CVE-2018-1000185 is a medium-severity server-side request forgery vulnerability in n/a, published on 5 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A server-side request forgery vulnerability exists in Jenkins GitHub Branch Source Plugin 2.3.4 and older in Endpoint.java that allows attackers with Overall/Read access to cause Jenkins to send a GET request to a specified URL.
Weakness: CWE-918
Which versions are affected by CVE-2018-1000185?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:github-branch-source. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:github-branch-source Maven | All versions | 2.3.5 |
org.jenkins-ci.plugins:github-branch-source Maven | All versions | 2.3.5 |
Products include Jenkins Github Branch Source.
How do I fix CVE-2018-1000185?
Upgrade org.jenkins-ci.plugins:github-branch-source to 2.3.5 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2018-1000185 being exploited?
There is no known exploitation of CVE-2018-1000185 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2024-23901 Shared projects are unconditionally discovered by Jenkins GitLab Branch Source Plugin
- CVE-2017-1000091 Jenkins GitHub Branch Source Plugin vulnerable to Cross-Site Request Forgery
- CVE-2024-23903 Non-constant time webhook token comparison in Jenkins GitLab Branch Source Plugin
- CVE-2026-57285 Jenkins GitHub Branch Source Plugin has missing permission check that allows enumerating GitHub Enterprise server URLs
- CVE-2026-42522 Jenkins GitHub Branch Source Plugin: Missing permissions check allows attackers to perform a connection test
Sources
Also known as GHSA-9cfq-v2hm-c3xr.