CVE-2023-40348: Infoleak

Published Aug 16, 2023
·
Updated

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.

Other sources

The webhook endpoint in Jenkins Gogs Plugin 1.0.15 and earlier provides unauthenticated attackers information about the existence of jobs in its output.

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
via MITRE·02:32 PM
Data Sourced
via MITRE·02:32 PM
Description
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
03:30 PM

Frequently Asked Questions

1

What is CVE-2023-40348?

CVE-2023-40348 is a vulnerability in Jenkins Gogs Plugin 1.0.15 and earlier that allows unauthenticated attackers to trigger builds of jobs by exploiting the unsecured webhook endpoint.

2

How severe is CVE-2023-40348?

CVE-2023-40348 has a severity rating of 6.5, which is classified as medium.

3

What software is affected by CVE-2023-40348?

Jenkins Gogs Plugin 1.0.15 and earlier versions are affected by CVE-2023-40348.

4

How can an attacker exploit CVE-2023-40348?

An attacker can exploit CVE-2023-40348 by sending requests to the unsecured webhook endpoint in Jenkins Gogs Plugin, triggering builds of jobs without authentication.

5

How can I fix CVE-2023-40348?

To fix CVE-2023-40348, upgrade to a version of Jenkins Gogs Plugin that is not affected by the vulnerability.

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