CVE-2022-46688 Jenkins Sonar Gerrit Plugin vulnerable to Cross-Site Request Forgery
Attackers can force Jenkins to connect to Gerrit servers using attacker-controlled credentials, potentially capturing stored credentials.
- 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-46688?
CVE-2022-46688 is a medium-severity vulnerability in Jenkins Sonar Gerrit Plugin, published on 7 Dec 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 Sonar Gerrit Plugin 377.v8f3808963dc5 and earlier allows attackers to have Jenkins connect to Gerrit servers (previously configured by Jenkins administrators) using attacker-specified credentials IDs obtained through another method, potentially capturing credentials stored in Jenkins.
Weakness: CWE-352
Which versions are affected by CVE-2022-46688?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:sonar-gerrit. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:sonar-gerrit Maven | All versions | 378.vf4646d4df087 |
org.jenkins-ci.plugins:sonar-gerrit Maven | All versions | 378.vf4646d4df087 |
Products include Jenkins Sonar Gerrit.
How do I fix CVE-2022-46688?
Upgrade org.jenkins-ci.plugins:sonar-gerrit to 378.vf4646d4df087 or later.
Is CVE-2022-46688 being exploited?
There is no known exploitation of CVE-2022-46688 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Sonar Gerrit Plugin
Sources
Also known as GHSA-m82g-fv7v-h64m.