VDB
KO
MEDIUM 5.4

GHSA-7g95-jmg9-h524

Jenkins cross-site request forgery (CSRF) vulnerability

Quick fix

GHSA-7g95-jmg9-h524 — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.500</version> for org.jenkins-ci.main:jenkins-core

Details

Jenkins 2.499 and earlier, LTS 2.492.1 and earlier does not require POST requests for the HTTP endpoint toggling collapsed/expanded status of sidepanel widgets (e.g., Build Queue and Build Executor Status widgets), resulting in a cross-site request forgery (CSRF) vulnerability.

This vulnerability allows attackers to have users toggle their collapsed/expanded status of sidepanel widgets.

Additionally, as the API accepts any string as the identifier of the panel ID to be toggled, attacker-controlled content can be stored in the victim’s user profile in Jenkins.

Jenkins 2.500, LTS 2.492.2 requires POST requests for the affected HTTP endpoint.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.jenkins-ci.main:jenkins-core
Introduced in: 2.493 Fixed in: 2.500
Fix # pom.xml: bump <version>2.500</version> for org.jenkins-ci.main:jenkins-core
Maven / org.jenkins-ci.main:jenkins-core
Introduced in: 0 Fixed in: 2.492.2
Fix # pom.xml: bump <version>2.492.2</version> for org.jenkins-ci.main:jenkins-core

References