CVE-2023-41932 Path traversal allows exploiting XXE vulnerability in Jenkins Job Configuration History Plugin

Medium 6.5 Published Updated

Attackers can delete arbitrary directories on the Jenkins controller if they contain a history.xml file via unrestricted timestamp parameters.

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-2023-41932?

CVE-2023-41932 is a medium-severity path traversal vulnerability in Jenkins Job Configuration History Plugin, published on 6 Sep 2023. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Job Configuration History Plugin 1227.v7a_79fc4dc01f and earlier does not restrict 'timestamp' query parameters in multiple endpoints, allowing attackers with to delete attacker-specified directories on the Jenkins controller file system as long as they contain a file called 'history.xml'.

Weakness: CWE-611

Which versions are affected by CVE-2023-41932?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:jobConfigHistory MavenAll versions1229.v3039470161a_d
org.jenkins-ci.plugins:jobConfigHistory MavenAll versions1229.v3039470161a_d

Products include Jenkins Job Configuration History.

How do I fix CVE-2023-41932?

Upgrade org.jenkins-ci.plugins:jobConfigHistory to 1229.v3039470161a_d or later.

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

Is CVE-2023-41932 being exploited?

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

Sources

Also known as GHSA-cgh7-rgqg-hrcx.

Is CVE-2023-41932 in your software?

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

Check your SBOMs for free