CVE-2022-25207: CSRF
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
Event History
Frequently Asked Questions
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.
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.
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.
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.
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.