PT-2023-27405 · Jenkins · Jenkins Gogs Plugin+1
Anhnm99
·
Published
2023-08-16
·
Updated
2024-10-08
·
CVE-2023-40348
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Jenkins Gogs Plugin versions 1.0.15 and earlier
Description
The webhook endpoint in Jenkins Gogs Plugin provides unauthenticated attackers with information about the existence of jobs in its output. This endpoint, located at "/gogs-webhook", can be used to trigger builds of jobs and includes an option to specify a Gogs secret, although this option is not enabled by default. The output of the webhook endpoint reveals whether a job corresponding to the attacker-specified job name exists, even if the attacker has no permission to access it.
Recommendations
As a temporary workaround, consider disabling the webhook endpoint at "/gogs-webhook" until a patch is available.
Restrict access to the Jenkins Gogs Plugin to minimize the risk of exploitation.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Information Disclosure
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jenkins
Jenkins Gogs Plugin