CVE-2024-54004 Jenkins Filesystem List Parameter Plugin has Path Traversal vulnerability

Medium 4.3 Published Updated

Attackers with Item/Configure permission can enumerate file names on the Jenkins controller file system due to unrestricted path usage in the Filesystem List Parameter 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-2024-54004?

CVE-2024-54004 is a medium-severity path traversal vulnerability in Jenkins Filesystem List Parameter Plugin, published on 27 Nov 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Filesystem List Parameter Plugin 0.0.14 and earlier does not restrict the path used for the File system objects list Parameter, allowing attackers with Item/Configure permission to enumerate file names on the Jenkins controller file system.

Weakness: CWE-22

Which versions are affected by CVE-2024-54004?

2 open source packages ship an affected version, including aendter.jenkins.plugins:filesystem-list-parameter-plugin. It affects 1 product.

PackageAffectedFixed in
aendter.jenkins.plugins:filesystem-list-parameter-plugin MavenAll versions0.0.15
aendter.jenkins.plugins:filesystem-list-parameter-plugin MavenAll versions0.0.15

Products include Jenkins Filesystem List Parameter.

How do I fix CVE-2024-54004?

Upgrade aendter.jenkins.plugins:filesystem-list-parameter-plugin to 0.0.15 or later.

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

Is CVE-2024-54004 being exploited?

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

Sources

Also known as GHSA-fwxq-3f52-5cmc.

Is CVE-2024-54004 in your software?

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

Check your SBOMs for free