GHSA-732f-w585-gmpc
XXE vulnerability in Jenkins Generic Webhook Trigger Plugin
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.jenkins-ci.plugins:generic-webhook-trigger | < 1.74 | 1.74 |
Details
As written in the advisory (Markdown source, shown as plain text).
Jenkins Generic Webhook Trigger Plugin 1.72 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.
This allows attackers with the ability to call webhooks configured to extract parameters using XPath to have Jenkins parse a crafted XML request body that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.
Jenkins Generic Webhook Trigger Plugin 1.74 disables external entity resolution for its XML parser.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2021-21669
- https://github.com/jenkinsci/generic-webhook-trigger-plugin/commit/da434dfca1b82f5de81e29438762370d652493b8
- https://github.com/jenkinsci/generic-webhook-trigger-plugin
- https://plugins.jenkins.io/generic-webhook-trigger/#dependencies
- https://www.jenkins.io/security/advisory/2021-06-18/#SECURITY-2330
- http://www.openwall.com/lists/oss-security/2021/06/18/1