ghsa-j7pg-863g-22p6
Vulnerability from github
Mercurial Plugin provides a webhook endpoint at /mercurial/notifyCommit
that can be used to notify Jenkins of changes to an SCM repository. This endpoint receives a repository URL, and Jenkins will schedule polling for all jobs configured with the specified repository. It can be accessed with GET requests and without authentication.
In Mercurial Plugin 1251.va_b_121f184902 and earlier, the output of the webhook endpoint will provide information about which jobs were triggered or scheduled for polling, including jobs the user has no permission to access. This allows attackers with knowledge of Mercurial repository URLs to obtain information about the existence of jobs configured with this Mercurial repository.
Mercurial Plugin 1260.vdfb_723cdcc81 does not provide the names of jobs for which polling is triggered unless the user has the appropriate Item/Read permission.
{ "affected": [ { "database_specific": { "last_known_affected_version_range": "\u003c 1260.vdfb" }, "package": { "ecosystem": "Maven", "name": "org.jenkins-ci.plugins:mercurial" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1260.vdfb_723cdcc81" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-43410" ], "database_specific": { "cwe_ids": [ "CWE-200" ], "github_reviewed": true, "github_reviewed_at": "2022-10-19T20:27:28Z", "nvd_published_at": "2022-10-19T16:15:00Z", "severity": "MODERATE" }, "details": "Mercurial Plugin provides a webhook endpoint at `/mercurial/notifyCommit` that can be used to notify Jenkins of changes to an SCM repository. This endpoint receives a repository URL, and Jenkins will schedule polling for all jobs configured with the specified repository. It can be accessed with GET requests and without authentication.\n\nIn Mercurial Plugin 1251.va_b_121f184902 and earlier, the output of the webhook endpoint will provide information about which jobs were triggered or scheduled for polling, including jobs the user has no permission to access. This allows attackers with knowledge of Mercurial repository URLs to obtain information about the existence of jobs configured with this Mercurial repository.\n\nMercurial Plugin 1260.vdfb_723cdcc81 does not provide the names of jobs for which polling is triggered unless the user has the appropriate Item/Read permission.", "id": "GHSA-j7pg-863g-22p6", "modified": "2022-12-16T17:17:55Z", "published": "2022-10-19T19:00:18Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-43410" }, { "type": "WEB", "url": "https://github.com/jenkinsci/mercurial-plugin/commit/dfb723cdcc815875cdf63abd32e314ced5e95ac9" }, { "type": "PACKAGE", "url": "https://github.com/jenkinsci/mercurial-plugin" }, { "type": "WEB", "url": "https://www.jenkins.io/security/advisory/2022-10-19/#SECURITY-2831" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2022/10/19/3" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "type": "CVSS_V3" } ], "summary": "Webhook endpoint discloses job names to unauthorized users in Jenkins Mercurial Plugin" }
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.