GHSA-qxwc-wchr-5h29

Suggest an improvement
Source
https://github.com/advisories/GHSA-qxwc-wchr-5h29
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-qxwc-wchr-5h29/GHSA-qxwc-wchr-5h29.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-qxwc-wchr-5h29
Aliases
Published
2023-08-16T15:30:18Z
Modified
2024-10-09T19:33:40.654499Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
Jenkins Gogs Plugin vulnerable to unsafe default behavior and information disclosure
Details

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.

Database specific
{
    "nvd_published_at": "2023-08-16T15:15:12Z",
    "cwe_ids": [
        "CWE-200"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-08-16T21:06:56Z"
}
References

Affected packages

Maven / org.jenkins-ci.plugins:gogs-webhook

Package

Name
org.jenkins-ci.plugins:gogs-webhook
View open source insights on deps.dev
Purl
pkg:maven/org.jenkins-ci.plugins/gogs-webhook

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0.15

Affected versions

1.*

1.0.0
1.0.2
1.0.3
1.0.4
1.0.6
1.0.7
1.0.8
1.0.9
1.0.10
1.0.11
1.0.12
1.0.13
1.0.14
1.0.15