ADVISORIES

GitHub Advisory Database

GHSA-g2xq-2v27-4rh3

Jenkins arbitrary type deserialization from attacker-controlled config.xml allows remote code execution and user impersonation

Details

In Jenkins 2.567 and earlier, LTS 2.555.2 and earlier, it is possible for attackers to have Jenkins deserialize arbitrary types defined in Jenkins core or plugins from an attacker-controlled config.xml submission in a way that allows them to handle HTTP requests afterwards.

This can be used to impersonate any user and send HTTP requests on their behalf, up to and including use of the Script Console to run arbitrary code, or to read arbitrary files from the Jenkins controller.

Affected packages

EcosystemPackageAffected versions
Mavenorg.jenkins-ci.main:jenkins-core
All versions before 2.555.3 (fixed in 2.555.3)
Mavenorg.jenkins-ci.main:jenkins-core
From 2.556 before 2.568 (fixed in 2.568)

References