CVE-2018-1999038 Jenkins Publisher Over CIFS Plugin confused deputy vulnerability

Medium 4.2 Published Updated

Attackers can force Jenkins to connect to malicious CIFS servers using attacker-controlled credentials, potentially exposing sensitive data or bypassing security controls.

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-1999038?

CVE-2018-1999038 is a medium-severity server-side request forgery vulnerability in n/a, published on 1 Aug 2018. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A confused deputy vulnerability exists in Jenkins Publisher Over CIFS Plugin 0.10 and earlier in CifsPublisherPluginDescriptor.java that allows attackers to have Jenkins connect to an attacker specified CIFS server with attacker specified credentials.

Weakness: CWE-441

Which versions are affected by CVE-2018-1999038?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:publish-over-cifs. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:publish-over-cifs MavenAll versions0.11
org.jenkins-ci.plugins:publish-over-cifs MavenAll versions0.11

Products include Jenkins Publish Over Cifs.

How do I fix CVE-2018-1999038?

Upgrade org.jenkins-ci.plugins:publish-over-cifs to 0.11 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2018-1999038 being exploited?

There is no known exploitation of CVE-2018-1999038 in the wild and no public exploit code.

Sources

Also known as GHSA-rf7h-9m85-535v.

Is CVE-2018-1999038 in your software?

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

Check your SBOMs for free