GitHub Advisoryadvisory · Maven
GHSA-8847-xvjw-9g43 XXE vulnerability on agents in Jenkins OSF Builder Suite : : XML Linter Plugin
MEDIUM
Official page ↗
- Aliases
- CVE-2022-45397
- Ecosystem
- Maven
- Packages
- org.jenkins-ci:update-center2
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-611
- Reviewed
- 2022-11-21
Affected packages
• Maven org.jenkins-ci:update-center2: <= 1.0.2 (no fix yet)
Description
OSF Builder Suite : : XML Linter 1.0.2 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.
This allows attackers able to control XML files that get processed by the 'OSF Builder Suite : : XML Linter' build step to have agent processes parse a crafted file that uses external entities for extraction of secrets from the Jenkins agent or server-side request forgery.
Because Jenkins agent processes usually execute build tools whose input (source code, build scripts, etc.) is controlled externally, this vulnerability only has a real impact in very narrow circumstances: when attackers can control XML files, but are unable to change build steps, Jenkinsfiles, test code that gets executed on the agents, or similar.
Related
Alias · CVE (1)
- CVE-2022-45397 Jenkins OSF Builder Suite : : XML Linter Plugin 1.0.2 and earlier does not configure its XML parser to prevent XML external entity (XXE)… vulnerability
Weakness · CWE (1)
- CWE-611 Improper Restriction of XML External Entity Reference weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-45397 advisory
- https://github.com/jenkins-infra/update-center2/pull/658 web
- https://github.com/jenkinsci/osf-builder-suite-xml-linter-plugin web
- https://www.jenkins.io/security/advisory/2022-11-15/#SECURITY-2937 web
- http://www.openwall.com/lists/oss-security/2022/11/15/4 web