ghsa-h4wx-78p9-fwxw
Vulnerability from github
Published
2022-11-16 12:00
Modified
2022-12-15 21:12
Severity ?
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.
{ "affected": [ { "package": { "ecosystem": "Maven", "name": "com.thalesgroup.hudson.plugins:sourcemonitor" }, "ranges": [ { "events": [ { "introduced": "0" }, { "last_affected": "0.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-45396" ], "database_specific": { "cwe_ids": [ "CWE-611" ], "github_reviewed": true, "github_reviewed_at": "2022-11-21T22:24:17Z", "nvd_published_at": "2022-11-15T20:15:00Z", "severity": "MODERATE" }, "details": "SourceMonitor Plugin 0.2 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.\n\nThis allows attackers able to control XML input files for the \u0027Publish SourceMonitor results\u0027 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.\n\nBecause 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.", "id": "GHSA-h4wx-78p9-fwxw", "modified": "2022-12-15T21:12:06Z", "published": "2022-11-16T12:00:23Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45396" }, { "type": "PACKAGE", "url": "https://github.com/jenkinsci/sourcemonitor-plugin" }, { "type": "WEB", "url": "https://www.jenkins.io/security/advisory/2022-11-15/#SECURITY-2927" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "XXE vulnerability on agents in Jenkins SourceMonitor Plugin" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.