XXE vulnerability in Jenkins Liquibase Runner Plugin
Date: 2022-05
Affected: maven/org.jenkins-ci.plugins:liquibase-runner
Attack vector: ssrf
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2020-2284
CWE: CWE-611
CVSS: 7.1 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N)

Jenkins Liquibase Runner Plugin 1.4.5 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks. This allows attackers able to provide Liquibase changesets evaluated by the plugin to have Jenkins parse a crafted XML file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery. Jenkins Liquibase Runner Plugin 1.4.7 no longer parses Liquibase changesets.


Mitigations:

Architectural layers (MAESTRO):