ghsa-4598-wcg8-x56g
Vulnerability from github
Published
2022-11-16 12:00
Modified
2022-12-15 20:46
Severity ?
Summary
XML External Entity Reference in Jenkins Violations Plugin
Details
Violations Plugin 0.7.11 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.
This allows attackers to control XML input files for the 'Report Violations' 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": "org.jenkins-ci.plugins:violations" }, "ranges": [ { "events": [ { "introduced": "0" }, { "last_affected": "0.7.11" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-45386" ], "database_specific": { "cwe_ids": [ "CWE-611" ], "github_reviewed": true, "github_reviewed_at": "2022-11-21T22:22:34Z", "nvd_published_at": "2022-11-15T20:15:00Z", "severity": "MODERATE" }, "details": "Violations Plugin 0.7.11 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks.\n\nThis allows attackers to control XML input files for the \u0027Report Violations\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-4598-wcg8-x56g", "modified": "2022-12-15T20:46:48Z", "published": "2022-11-16T12:00:23Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-45386" }, { "type": "PACKAGE", "url": "https://github.com/jenkinsci/violations-plugin" }, { "type": "WEB", "url": "https://www.jenkins.io/security/advisory/2022-11-15/#SECURITY-766" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2022/11/15/4" } ], "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": "XML External Entity Reference in Jenkins Violations 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.