copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2016.0500 - [Win][UNIX/Linux] jenkins: Multiple vulnerabilities

Date: 25 February 2016
References: ESB-2016.1074  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2016.0500
                       Security Advisory 2016-02-24
                             25 February 2016

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           jenkins
Publisher:         jenkins
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated      
                   Provide Misleading Information  -- Remote with User Interaction
                   Reduced Security                -- Remote/Unauthenticated      
Resolution:        Patch/Upgrade
CVE Names:         CVE-2016-0792 CVE-2016-0791 CVE-2016-0790
                   CVE-2016-0789 CVE-2016-0788 

Original Bulletin: 
   https://wiki.jenkins-ci.org/display/SECURITY/Security+Advisory+2016-02-24

- --------------------------BEGIN INCLUDED TEXT--------------------

Security Advisory 2016-02-24

    Added by Daniel Beck, last edited by Daniel Beck on Feb 25, 2016

This advisory announces multiple vulnerabilities in Jenkins.

Description

Remote code execution vulnerability in remoting module

SECURITY-232 / CVE-2016-0788

A vulnerability in the Jenkins remoting module allowed unauthenticated remote
attackers to open a JRMP listener on the server hosting the Jenkins master 
process, which allowed arbitrary code execution. 

HTTP response splitting vulnerability

SECURITY-238 / CVE-2016-0789

An HTTP response splitting vulnerability in the CLI command documentation 
allowed attackers to craft Jenkins URLs that serve malicious content. 

Non-constant time comparison of API token

SECURITY-241 / CVE-2016-0790

The verification of user-provided API tokens with the expected value did not 
use a constant-time comparison algorithm, potentially allowing attackers to 
use statistical methods to determine valid API tokens using brute-force 
methods. 

Non-constant time comparison of CSRF crumbs

SECURITY-245 / CVE-2016-0791

The verification of user-provided CSRF crumbs with the expected value did not
use a constant-time comparison algorithm, potentially allowing attackers to 
use statistical methods to determine valid CSRF crumbs using brute-force 
methods. 

Remote code execution through remote API

SECURITY-247 / CVE-2016-0792

Jenkins has several API endpoints that allow low-privilege users to POST XML 
files that then get deserialized by Jenkins. Maliciously crafted XML files 
sent to these API endpoints could result in arbitrary code execution. 

Severity

    SECURITY-232 is considered critical as it allows unprivileged attackers to
execute arbitrary code in many configurations.

    SECURITY-238 is considered medium as it allows unprivileged attackers to 
send maliciously crafted links that result e.g. in XSS to victims.

    SECURITY-241 is considered high as it allows unprivileged attackers to 
brute-force valid login credentials.

    SECURITY-245 is considered medium as it allows unprivileged attackers to 
brute-force CSRF protection.

    SECURITY-247 is considered high as it allows low-privilege attackers to 
execute arbitrary code on the Jenkins master.

Affected versions

    All Jenkins main line releases up to and including 1.649

    All Jenkins LTS releases up to and including 1.642.1

Fix

    Jenkins main line users should update to 1.650

    Jenkins LTS users should update to 1.642.2

These versions include fixes to all the vulnerabilities described above. All 
prior versions are affected by these vulnerabilities.

Credit

The Jenkins project would like to thank the following people for discovering 
and reporting these vulnerabilities:

    Moritz Bechler for SECURITY-232

    Seung-Hyun Cho for SECURITY-238

    Steve Marlowe <smarlowe@cisco.com> of Cisco ASIG for SECURITY-241

    James Nord, CloudBees, Inc. for SECURITY-245

    Arshan Dabirsiaghi, Contrast Security for SECURITY-247

Other Resources

    Corresponding security advisory for CloudBees Jenkins Enterprise and 
CloudBees Jenkins Operations Center
Security Advisory 2016-02-24

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBVs6MnH6ZAP0PgtI9AQI7pg/+Mq4ndE6xkud5n1eqrJavMUbfMhAeF/pX
W6xqn3yDtcJlVMMC1/a1T63U6sUk8j3nKD/5bRfmxjabghhgXaBVhya+WeMqa6/f
tjGfU39nE9rXudSptDe4rvh3WlW5IYTSEhyLPDBsM59nTfDefaM3RW1XqojKIOWs
PB9dFyYE7i48ZaH+Rbj/qX8Cv2HFL2QOnx7StefpXjCI/Q8XzuQyzsD6OmpGI2xs
59aa5ay68AiLu5EJ5SM3rrrJfJZ+erdrRB8dPaYkqSBuDJddzDH0NoZl1LWE4T7S
GXenxwvIyfqSv7u7rAP0bEDxPXySOuw3b8nZ9NzQZtA29FYq9nLvTr6Xj/c01VVl
gPYlL/TKQ3sVh+bJlUxFtJeE4TUoQh2o2BSoAWWwF6PznHUD9NPGfNF93PlLyJZ+
CRQWidAkSwhDrfveHtjB91gcSeIt5Bl2chcnY5vFzfFKJhaGIZmrejDB6AvsRWZP
EFmiSEvNZjpKSE8w2cnT3IZTKhCmN4ABPHvf3lVIHQXRXS0cAQ/HrAF7bBmCwMJU
EBJuyjhkubmYVhUAOh5+kb7zFh3v+BYlooCS7L3r1WLi95fYnRm1z760QNZfQ9ln
hazvnLGAqc5fzA5XVzmK0nK0OffaK53L7hbvZ56dINQhT/ZN3cvEFUeoxfpBO8Cp
JLk+ppC+Pq8=
=awMz
-----END PGP SIGNATURE-----