CVE-2022-29051 Missing permission checks in Jenkins Publish Over FTP Plugin

Medium 4.3 Published Updated

Attackers with read access can connect to FTP servers using arbitrary credentials due to missing permission checks in the Jenkins Publish Over FTP 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-2022-29051?

CVE-2022-29051 is a medium-severity missing authorization vulnerability in Jenkins Publish Over FTP Plugin, published on 12 Apr 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Missing permission checks in Jenkins Publish Over FTP Plugin 1.16 and earlier allow attackers with Overall/Read permission to connect to an FTP server using attacker-specified credentials.

Weakness: CWE-862

Which versions are affected by CVE-2022-29051?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:publish-over-ftp MavenAll versions1.17
org.jenkins-ci.plugins:publish-over-ftp MavenAll versions1.17

Products include Jenkins Publish Over Ftp.

How do I fix CVE-2022-29051?

Upgrade org.jenkins-ci.plugins:publish-over-ftp to 1.17 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2022-29051 being exploited?

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

Sources

Also known as GHSA-5pv7-hx9m-8jh3.

Is CVE-2022-29051 in your software?

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

Check your SBOMs for free