CVE-2022-25207: CSRF

Published Feb 15, 2022
·
Updated

A cross-site request forgery (CSRF) vulnerability in Jenkins Chef Sinatra Plugin 1.20 and earlier allows attackers to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse an XML response.

Other sources

Jenkins Chef Sinatra Plugin 1.20 and earlier does not perform a permission check in a method implementing form validation.

This allows attackers with Overall/Read permission to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse the response as XML.

As the plugin does not configure its XML parser to prevent XML external entity (XXE) attacks, attackers can have Jenkins parse a crafted XML response that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.

Additionally, this form validation method does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.

Affected Software

2 affected components
maven/org.jenkins-ci.plugins:sinatra-chef-builder<=1.20
Jenkins Chef Sinatra Jenkins<=1.20

Event History

Feb 15, 2022
CVE Published
via MITRE·04:11 PM
Data Sourced
via MITRE·04:11 PM
Description
Feb 16, 2022
Advisory Published
12:01 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-25207?

CVE-2022-25207 is classified as a medium severity vulnerability due to the possibility of cross-site request forgery attacks.

2

How does CVE-2022-25207 affect Jenkins Chef Sinatra Plugin?

CVE-2022-25207 allows attackers to send unauthorized HTTP requests to an attacker-controlled URL via Jenkins Chef Sinatra Plugin versions 1.20 and earlier.

3

How can I fix CVE-2022-25207?

To fix CVE-2022-25207, upgrade the Jenkins Chef Sinatra Plugin to a version later than 1.20.

4

Who is at risk from CVE-2022-25207?

Users of Jenkins Chef Sinatra Plugin version 1.20 and earlier are at risk from CVE-2022-25207.

5

What are the consequences of exploiting CVE-2022-25207?

Exploitation of CVE-2022-25207 can lead to unauthorized actions being performed within Jenkins, posing security risks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203