CVE-2022-25208
JSON

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 packageVersionsReported by
Jenkins project Jenkins Chef Sinatra Pluginfrom unspecified up to 1.20, from next of 1.20 before unspecifiedCVE List
org.jenkins-ci.plugins:sinatra-chef-builder (Maven)up to 1.20GitHub Advisory Database
jenkins chef_sinatraup to 1.20NVD

All scores

GitHub8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2022-25208 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-fq56-c7rj-j3j9 changed 2024-02-16CC-BY-4.0
NVDCVE-2022-25208 changed 2026-06-17Public domain