CVE-2022-23112 Missing permission check in Jenkins Publish Over SSH Plugin

Medium 6.5 Published Updated

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

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

Official description

A missing permission check in Jenkins Publish Over SSH Plugin 1.22 and earlier allows attackers with Overall/Read access to connect to an attacker-specified SSH server using attacker-specified credentials.

Weakness: CWE-862

Which versions are affected by CVE-2022-23112?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:publish-over-ssh MavenAll versions1.24
org.jenkins-ci.plugins:publish-over-ssh MavenAll versions1.24

Products include Jenkins Publish Over Ssh.

How do I fix CVE-2022-23112?

Upgrade org.jenkins-ci.plugins:publish-over-ssh to 1.24 or later.

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

Is CVE-2022-23112 being exploited?

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

Sources

Also known as GHSA-vc4r-j8j6-3fp6.

Is CVE-2022-23112 in your software?

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

Check your SBOMs for free