CVE-2020-2278 Arbitrary file write vulnerability in Jenkins Storable Configs Plugin

Medium 6.5 Published Updated

Attackers with Job/Configure permission can replace arbitrary XML files on the Jenkins controller due to unrestricted file name specification.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-2278?

CVE-2020-2278 is a medium-severity path traversal vulnerability in Jenkins Storable Configs Plugin, published on 16 Sep 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Storable Configs Plugin 1.0 and earlier does not restrict the user-specified file name, allowing attackers with Job/Configure permission to replace any other '.xml' file on the Jenkins controller with a job config.xml file's content.

Weakness: CWE-22

Which versions are affected by CVE-2020-2278?

2 open source packages ship an affected version, including org.jvnet.hudson.plugins:storable-configs-plugin. It affects 1 product.

PackageAffectedFixed in
org.jvnet.hudson.plugins:storable-configs-plugin MavenAll versions to 1.0None
org.jvnet.hudson.plugins:storable-configs-plugin MavenAll versions to 1.0None

Products include Jenkins Storable Configs.

How do I fix CVE-2020-2278?

No fix has been published for CVE-2020-2278 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2020-2278 being exploited?

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

Sources

Also known as GHSA-qv6q-4jwx-7j5c.

Is CVE-2020-2278 in your software?

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

Check your SBOMs for free