[JIRA] (JENKINS-61738) Session hijacking protection hardening

10 views
Skip to first unread message

wfollonier@cloudbees.com (JIRA)

unread,
Mar 30, 2020, 5:16:02 AM3/30/20
to jenkinsc...@googlegroups.com
Wadeck Follonier created an issue
 
Jenkins / Improvement JENKINS-61738
Session hijacking protection hardening
Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 2020-03-30 09:15
Priority: Minor Minor
Reporter: Wadeck Follonier

After the recent SECURITY-1774 published in https://jenkins.io/security/advisory/2020-03-25/, we are preventing the usage of semicolon in URL. In Jenkins they could potentially have a legitimate (but not really recommended) usage when included in item names.

If you need to activate the escape hatch "jenkins.security.SuspiciousRequestFilter.allowSemicolonsInPath", and you are using a SecurityRealm that does not invalidate the session after authentication, you are vulnerable to a session hijacking attack. Of course, the SecurityRealm issue has to be reported as a vulnerability and then corrected.

The problem is that you can trigger a URL in Jenkins with ";jsessionid=xxx" (only "available" in Tomcat).

This ticket is about adding a "second" level of protection there (think defense in depth) by forcing the session to be tracked as a cookie (from default which is cookie+url).

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

wfollonier@cloudbees.com (JIRA)

unread,
Mar 30, 2020, 5:42:02 AM3/30/20
to jenkinsc...@googlegroups.com
Wadeck Follonier started work on Improvement JENKINS-61738
 
Change By: Wadeck Follonier
Status: Open In Progress

wfollonier@cloudbees.com (JIRA)

unread,
Mar 30, 2020, 5:42:03 AM3/30/20
to jenkinsc...@googlegroups.com

wfollonier@cloudbees.com (JIRA)

unread,
Mar 30, 2020, 5:43:05 AM3/30/20
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Apr 27, 2020, 8:06:04 PM4/27/20
to jenkinsc...@googlegroups.com
Change By: Daniel Beck
Status: In Review Resolved
Resolution: Fixed
Released As: Jenkins 2.234
Reply all
Reply to author
Forward
0 new messages