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 package | Versions | Reported by |
|---|---|---|
| Jenkins Project Jenkins Gogs Plugin | up to 1.0.15 | CVE List |
| org.jenkins-ci.plugins:gogs-webhook (Maven) | up to 1.0.15 | GitHub Advisory Database |
| jenkins gogs | up to 1.0.15 | NVD |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Classification
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
| https://www.jenkins.io/security/advisory/2023-08-16/#SECURITY-2894 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2023/08/16/3 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-40349 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-40349 changed 2024-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-rc33-44qp-vpvq changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2023-40349 changed 2026-06-17 | Public domain |