CVE-2022-45388 Jenkins Config Rotator Plugin vulnerable to path traversal

High 7.5 Published Updated

Unauthenticated attackers can read arbitrary XML files on the Jenkins controller file system via a path traversal vulnerability in the Config Rotator Plugin.

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

What is CVE-2022-45388?

CVE-2022-45388 is a high-severity path traversal vulnerability in Jenkins Config Rotator Plugin, published on 15 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Jenkins Config Rotator Plugin 2.0.1 and earlier does not restrict a file name query parameter in an HTTP endpoint, allowing unauthenticated attackers to read arbitrary files with '.xml' extension on the Jenkins controller file system.

Weakness: CWE-22

Which versions are affected by CVE-2022-45388?

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

PackageAffectedFixed in
org.jenkins-ci.main:config-rotator MavenAll versions to 2.0.1None
org.jenkins-ci.main:config-rotator MavenAll versions to 2.0.1None

Products include Jenkins Config Rotator.

How do I fix CVE-2022-45388?

No fix has been published for CVE-2022-45388 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-2022-45388 being exploited?

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

Sources

Also known as GHSA-9pqq-h9qv-28fp.

Is CVE-2022-45388 in your software?

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

Check your SBOMs for free