ADVISORIES

GitHub Advisory Database

GHSA-pgpj-83g3-mfr2

Jenkins Google Compute Engine Plugin has incorrect permission checks

Moderate CVE-2023-49652

Details

Jenkins Google Compute Engine Plugin 4.550.vb_327fca_3db_11 and earlier does not correctly perform permission checks in multiple HTTP endpoints. This allows attackers with global Item/Configure permission (while lacking Item/Configure permission on any particular job) to do the following:

  • Enumerate system-scoped credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability.
  • Connect to Google Cloud Platform using attacker-specified credentials IDs obtained through another method, to obtain information about existing projects.

Google Compute Engine Plugin 4.551.v5a_4dc98f6962 requires Overall/Administer permission for the affected HTTP endpoints.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.plugins:google-compute-engine
All versions before 4.3.17.1 (fixed in 4.3.17.1)
Mavenorg.jenkins-ci.plugins:google-compute-engine
From 4.5 before 4.551.v5a (fixed in 4.551.v5a)

References