CVE-2022-23111 CSRF vulnerability and missing permission checks in Jenkins Publish Over SSH Plugin

Medium 4.3 Published Updated

Attackers can force users to connect to malicious SSH servers with attacker-controlled credentials via CSRF in the Jenkins Publish Over SSH plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-23111?

CVE-2022-23111 is a medium-severity vulnerability in Jenkins Publish Over SSH Plugin, published on 12 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A cross-site request forgery (CSRF) vulnerability in Jenkins Publish Over SSH Plugin 1.22 and earlier allows attackers to connect to an attacker-specified SSH server using attacker-specified credentials.

Weakness: CWE-352

Which versions are affected by CVE-2022-23111?

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.23
org.jenkins-ci.plugins:publish-over-ssh MavenAll versions1.23

Products include Jenkins Publish Over Ssh.

How do I fix CVE-2022-23111?

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

Is CVE-2022-23111 being exploited?

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

Sources

Also known as GHSA-884c-9wwh-9p6v.

Is CVE-2022-23111 in your software?

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

Check your SBOMs for free