GHSA-h4wx-78p9-fwxw

Suggest an improvement
Source
https://github.com/advisories/GHSA-h4wx-78p9-fwxw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/11/GHSA-h4wx-78p9-fwxw/GHSA-h4wx-78p9-fwxw.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h4wx-78p9-fwxw
Aliases
  • CVE-2022-45396
Published
2022-11-16T12:00:23Z
Modified
2023-11-08T04:10:52.538334Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
XXE vulnerability on agents in Jenkins SourceMonitor Plugin
Details

SourceMonitor Plugin 0.2 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.

This allows attackers able to control XML input files for the 'Publish SourceMonitor results' post-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.

References

Affected packages

Maven / com.thalesgroup.hudson.plugins:sourcemonitor

Package

Name
com.thalesgroup.hudson.plugins:sourcemonitor
View open source insights on deps.dev
Purl
pkg:maven/com.thalesgroup.hudson.plugins/sourcemonitor

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.2

Affected versions

0.*

0.2