CVE-2023-40349 Jenkins Gogs Plugin vulnerable to unsafe default behavior and information disclosure

Medium 5.3 Published Updated

Unauthenticated attackers can trigger Jenkins job builds due to improper webhook security initialization in the Gogs Plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-40349?

CVE-2023-40349 is a medium-severity missing authorization vulnerability in Jenkins Gogs Plugin, published on 16 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-665

Which versions are affected by CVE-2023-40349?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:gogs-webhook. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:gogs-webhook MavenAll versions to 1.0.15None
org.jenkins-ci.plugins:gogs-webhook MavenAll versions to 1.0.15None

Products include Jenkins Gogs.

How do I fix CVE-2023-40349?

No fix has been published for CVE-2023-40349 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2023-40349 being exploited?

There is no known exploitation of CVE-2023-40349 in the wild and no public exploit code.

Sources

Also known as GHSA-rc33-44qp-vpvq.

Is CVE-2023-40349 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free