8.8high
Missing permission checks in Jenkins Chef Sinatra Plugin allow XXE
- Severity
- 8.8high CVSS:3.1 by NVD
- Exploit likelihood
- 1.10% (higher than 66% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- jenkins
- Also known as
- GHSA-fq56-c7rj-j3j9
Description
A missing permission check in Jenkins Chef Sinatra Plugin 1.20 and earlier allows attackers with Overall/Read permission to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse an XML response.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Jenkins project Jenkins Chef Sinatra Plugin | from unspecified up to 1.20, from next of 1.20 before unspecified | CVE List |
| org.jenkins-ci.plugins:sinatra-chef-builder (Maven) | up to 1.20 | GitHub Advisory Database |
| jenkins chef_sinatra | up to 1.20 | NVD |
All scores
| GitHub | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
A missing permission check in Jenkins Chef Sinatra Plugin 1.20 and earlier allows attackers with Overall/Read permission to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse an XML response.
GitHub Advisory Database
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.
NVD (es)
Una falta de comprobación de permisos en Jenkins Chef Sinatra Plugin versiones 1.20 y anteriores, permite a atacantes con permiso Overall/Read hacer que Jenkins envíe una petición HTTP a una URL controlada por el atacante y que analice una respuesta XML
References
| https://www.jenkins.io/security/advisory/2022-02-15/#SECURITY-1377 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2022/02/15/2 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-25208 | advisory | |
| https://github.com/jenkinsci/sinatra-chef-builder-plugin | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-25208 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-fq56-c7rj-j3j9 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2022-25208 changed 2026-06-17 | Public domain |