Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1418719 - (CVE-2017-2607) CVE-2017-2607 jenkins: Persisted cross-site scripting vulnerability in console notes (SECURITY-382)
CVE-2017-2607 jenkins: Persisted cross-site scripting vulnerability in consol...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20170201,repor...
: Security
Depends On: 1418736
Blocks: 1395176 1418735
  Show dependency treegraph
 
Reported: 2017-02-02 10:04 EST by Andrej Nemec
Modified: 2018-06-29 18:18 EDT (History)
13 users (show)

See Also:
Fixed In Version: jenkins 2.44, jenkins 2.32.2
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Andrej Nemec 2017-02-02 10:04:51 EST
The following flaw was found in Jenkins:

Jenkins allows plugins to annotate build logs, adding new content or changing the presentation of existing content while the build is running. Popular examples include the highlighting of sections by Ant Plugin, or the timestamp metadata from Timestamper. Malicious Jenkins users, or users with SCM access, could configure jobs or modify build scripts such that they print serialized console notes that perform cross-site scripting attacks on Jenkins users viewing the build logs.

To prevent this, console notes are now signed by Jenkins when created, and Jenkins will only deserialize correctly signed console notes. As a side effect, console notes created before updating to a release containing this fix will no longer be deserialized. To restore the previous (unsafe) behavior, set the system property hudson.console.ConsoleNote.INSECURE to true as described on Features controlled by system properties.

External References:

https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2017-02-01

Upstream patch:

https://github.com/jenkinsci/jenkins/commit/2527e66dd8f9dd23a2571f8bd8f2918edf6fc0cd
Comment 1 Andrej Nemec 2017-02-02 10:27:19 EST
Created jenkins tracking bugs for this issue:

Affects: fedora-all [bug 1418736]

Note You need to log in before you can comment on or make changes to this bug.