-----BEGIN PGP SIGNED MESSAGE-----
AUSCERT External Security Bulletin Redistribution
Jenkins Security Advisory 2019-01-16
17 January 2019
AusCERT Security Bulletin Summary
Product: Jenkins (core)
Publisher: Jenkins project
Operating System: Windows
UNIX variants (UNIX, Linux, OSX)
Impact/Access: Increased Privileges -- Existing Account
Unauthorised Access -- Existing Account
- --------------------------BEGIN INCLUDED TEXT--------------------
Jenkins Security Advisory 2019-01-16
This advisory announces vulnerabilities in the following Jenkins deliverables:
Administrators could persist access to Jenkins using crafted 'Remember me'
SECURITY-868 / CVE pending
Users with the Overall/RunScripts permission (typically administrators) were
able to use the Jenkins script console to craft a 'Remember me' cookie that
would never expire.
This allowed attackers access to a Jenkins instance while the corresponding
user in the configured security realm exists, for example to persist access
after another successful attack.
Jenkins now encodes a per-user seed value in 'Remember me' cookies that is
invalidated when the user password in the Jenkins user database is changed,
the user record in Jenkins is deleted, or when all sessions for a given user
are terminated through a new feature on the userÃ¢Â€Â™s configuration page.
Deleting a user in an external security realm did not invalidate their session
or 'Remember me' cookie
SECURITY-901 / CVE pending
When using an external security realm such as LDAP or Active Directory,
deleting a user from the security realm does not result in the user losing
access to Jenkins.
While deleting the user record from Jenkins did invalidate the 'Remember me'
cookie, there was no way to invalidate active sessions besides restarting
Jenkins or terminating sessions through other means, such as Monitoring Plugin.
Jenkins now encodes a per-user seed value in sessions, 'Remember me' cookies,
and cached authentications of the remoting-based CLI, that can manually be
reset by a user themselves, or an administrator, on the userÃ¢Â€Â™s configuration
page. Doing so will invalidate all current sessions, 'Remember me' cookies,
and cached CLI authentications, requiring credentials to be entered again to
authenticate. Deleting a user record in Jenkins will now also invalidate
existing sessions, as the current seed value is deleted as well.
Jenkins weekly up to and including 2.159
Jenkins LTS up to and including 2.150.1
Jenkins weekly should be updated to version 2.160
Jenkins LTS should be updated to version 2.150.2
These versions include fixes to the vulnerabilities described above. All
prior versions are considered to be affected by these vulnerabilities
unless otherwise indicated.
The Jenkins project would like to thank the reporters for discovering and
reporting these vulnerabilities:
Apple Information Security for SECURITY-868
Nimrod Stoler of CyberArk Labs for SECURITY-901
- --------------------------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 firstname.lastname@example.org
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:
Australian Computer Emergency Response Team
The University of Queensland
Internet Email: email@example.com
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-----
-----END PGP SIGNATURE-----