CVE-2023-40348 – org.jenkins-ci.plugins:gogs-webhook
Package
Manager: maven
Name: org.jenkins-ci.plugins:gogs-webhook
Vulnerable Version: >=0 <=1.0.15
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.0014 pctl0.3479
Details
Jenkins Gogs Plugin vulnerable to unsafe default behavior and information disclosure 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. This allows unauthenticated attackers to trigger builds of jobs corresponding to the attacker-specified job name. Additionally, 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. As of publication of this advisory, there is no fix.
Metadata
Created: 2023-08-16T15:30:18Z
Modified: 2023-08-16T21:06:56Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-qxwc-wchr-5h29/GHSA-qxwc-wchr-5h29.json
CWE IDs: ["CWE-200"]
Alternative ID: GHSA-qxwc-wchr-5h29
Finding: F308
Auto approve: 1