{"id":"GHSA-rc33-44qp-vpvq","summary":"Jenkins Gogs Plugin vulnerable to unsafe default behavior and information disclosure","details":"Jenkins Gogs Plugin provides a webhook endpoint at /gogs-webhook that can be used to trigger builds of jobs. In Gogs Plugin 1.0.15 and earlier, an option to specify a Gogs secret for this webhook is provided, but not enabled by default.\n\nThis allows unauthenticated attackers to trigger builds of jobs corresponding to the attacker-specified job name.\n\nAdditionally, the output of the webhook endpoint includes whether a job corresponding to the attacker-specified job name exists, even if the attacker has no permission to access it.\n\nAs of publication of this advisory, there is no fix.","aliases":["CVE-2023-40349"],"modified":"2023-11-11T05:29:24.563481Z","published":"2023-08-16T15:30:18Z","database_specific":{"github_reviewed_at":"2023-08-16T21:04:57Z","nvd_published_at":"2023-08-16T15:15:12Z","cwe_ids":["CWE-665"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40349"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-2894"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2023/08/16/3"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:gogs-webhook","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/gogs-webhook"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.15"}]}],"versions":["1.0.0","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.15","1.0.2","1.0.3","1.0.4","1.0.6","1.0.7","1.0.8","1.0.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-rc33-44qp-vpvq/GHSA-rc33-44qp-vpvq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}]}