CVE-2023-40349: Medium severity jenkins vulnerability

Published Aug 16, 2023
·
Updated

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.

Other sources

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.

Affected Software

2 affected components
maven/org.jenkins-ci.plugins:gogs-webhook<=1.0.15
Jenkins Gogs Jenkins<=1.0.15

Event History

Aug 16, 2023
CVE Published
02:32 PM
Data Sourced
02:32 PM
Description
Advisory Published
03:30 PM

Frequently Asked Questions

1

What is CVE-2023-40349?

CVE-2023-40349 is a vulnerability in Jenkins Gogs Plugin 1.0.15 and earlier that allows unauthenticated attackers to trigger builds of jobs.

2

What is the severity of CVE-2023-40349?

The severity of CVE-2023-40349 is medium with a CVSS score of 6.5.

3

How does CVE-2023-40349 affect Jenkins Gogs Plugin?

CVE-2023-40349 affects Jenkins Gogs Plugin 1.0.15 and earlier versions by improperly initializing an option that secures its webhook endpoint.

4

How can the CVE-2023-40349 vulnerability be exploited?

The CVE-2023-40349 vulnerability can be exploited by unauthenticated attackers to trigger builds of jobs using the Gogs Plugin webhook endpoint.

5

How can the CVE-2023-40349 vulnerability be fixed?

To fix the CVE-2023-40349 vulnerability, update Jenkins Gogs Plugin to version 1.0.16 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203