XXE vulnerability in Jenkins URLTrigger Plugin
Date: 2022-05
Affected: maven/org.jenkins-ci.plugins:urltrigger
Attack vector: ssrf
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2021-21657
CVE-2021-21658
CVE-2021-21659
CWE: CWE-611
CVSS: 8.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H)

Jenkins URLTrigger Plugin 0.48 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks. This allows attackers with Job/Configure permission or otherwise able to control the contents of an URL to an XML document being examined for changes to have Jenkins parse a crafted XML document that uses external entities for extraction of secrets from the polling Jenkins controller or agent, server-side request forgery, or denial-of-service attacks. UJenkins RLTrigger Plugin 0.49 disables external entity resolution for its XML parser.


Mitigations:

Architectural layers (MAESTRO):