CVE-2018-1000185 Jenkins GitHub Branch Source Plugin vulnerable to Server-Side Request Forgery

Medium 4.3 Published Updated

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.

PackageAffectedFixed in
org.jenkins-ci.plugins:github-branch-source MavenAll versions2.3.5
org.jenkins-ci.plugins:github-branch-source MavenAll versions2.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.

Sources

Also known as GHSA-9cfq-v2hm-c3xr.

Is CVE-2018-1000185 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free