Jenkins allows Remote Users to Inject Build Parameters
Research is free — Hunters explains how the bug works, the root-cause code pattern, how the fix addresses it, and how to test whether a target is affected, in chat. Investigate & write exploit is a paid run — the engine reads the advisory and fix commits, then builds and validates a working proof-of-concept exploit with reproduction steps.
Affected versions
1.660 → fixed in 2.30 → fixed in 1.651.2
Details
Jenkins before 2.3 and LTS before 1.651.2 might allow remote authenticated users to inject arbitrary build parameters into the build environment via environment variables.
The fix
No fix commit could be resolved for this advisory (it may reference an issue tracker or a non-GitHub patch). See the references below.
References
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2016-3721
- WEBhttps://access.redhat.com/errata/RHSA-2016:1206
- PACKAGEhttps://github.com/jenkinsci/jenkins
- WEBhttps://wiki.jenkins-ci.org/display/JENKINS/Plugins+affected+by+fix+for+SECURITY-170
- WEBhttps://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11
- WEBhttps://www.cloudbees.com/jenkins-security-advisory-2016-05-11
- WEBhttp://rhn.redhat.com/errata/RHSA-2016-1773.html
- WEBhttp://www.openwall.com/lists/oss-security/2024/05/02/3