CVE-2023-40349
JSON

5.3medium

Jenkins Gogs Plugin vulnerable to unsafe default behavior and information disclosure

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
0.68% (higher than 47% of CVEs)
Published
Last changed
Assigned by
jenkins
Also known as
GHSA-rc33-44qp-vpvq

Description

Jenkins Gogs Plugin 1.0.15 and earlier improperly initializes an option to secure its webhook endpoint, allowing unauthenticated attackers to trigger builds of jobs.

Affected

Product or packageVersionsReported by
Jenkins Project Jenkins Gogs Pluginup to 1.0.15CVE List
org.jenkins-ci.plugins:gogs-webhook (Maven)up to 1.0.15GitHub Advisory Database
jenkins gogsup to 1.0.15NVD

All scores

GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-665

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

Jenkins Gogs Plugin 1.0.15 and earlier improperly initializes an option to secure its webhook endpoint, allowing unauthenticated attackers to trigger builds of jobs.

GitHub Advisory Database

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-40349 changed 2024-10-08CVE Terms of Use
GitHub Advisory DatabaseGHSA-rc33-44qp-vpvq changed 2024-02-16CC-BY-4.0
NVDCVE-2023-40349 changed 2026-06-17Public domain