GHSA-rc33-44qp-vpvq

Suggest an improvement
Source
https://github.com/advisories/GHSA-rc33-44qp-vpvq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/08/GHSA-rc33-44qp-vpvq/GHSA-rc33-44qp-vpvq.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-rc33-44qp-vpvq
Aliases
Published
2023-08-16T15:30:18Z
Modified
2023-11-11T05:29:24.563481Z
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-665"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-08-16T21:04:57Z"
}
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