Skip to content

Improper Restriction of XML External Entity Reference in Jenkins Chef Sinatra

High severity GitHub Reviewed Published Feb 16, 2022 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

maven org.jenkins-ci.plugins:sinatra-chef-builder (Maven)

Affected versions

<= 1.20

Patched versions

None

Description

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

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.

References

Published by the National Vulnerability Database Feb 15, 2022
Published to the GitHub Advisory Database Feb 16, 2022
Reviewed Feb 16, 2022
Last updated Feb 3, 2023

Severity

High
7.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Weaknesses

CVE ID

CVE-2022-25209

GHSA ID

GHSA-38w8-h222-wrpp

Source code

No known source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.