[JIRA] (JENKINS-60180) Prevent HTTP TRACE in Jetty

6 views
Skip to first unread message

wfollonier@cloudbees.com (JIRA)

unread,
Nov 15, 2019, 4:06:03 AM11/15/19
to jenkinsc...@googlegroups.com
Wadeck Follonier created an issue
 
Jenkins / Improvement JENKINS-60180
Prevent HTTP TRACE in Jetty
Issue Type: Improvement Improvement
Assignee: Wadeck Follonier
Components: core
Created: 2019-11-15 09:05
Priority: Minor Minor
Reporter: Wadeck Follonier

It was reported to the security team that Jenkins is allowing the TRACE method by default. For the background, the TRACE method is used to debug an application because its objective is simple, the reponse will contain the request in its entirety, including the httpOnly cookies sent. Triggered by JavaScript, it was possible to achieve a XST (cross-site tracing) allowing the JavaScript code to have access to something it should not have access to.

I especially wrote a "was" because it was the case in 2003 when the vulnerability was discovered by Jeremiah Grossman. Initially it was to exploit the new (at that time) httpOnly tag on cookie that Microsoft created.

Nowadays, the browsers do not allow JavaScript to generate HTTP request with TRACE method. The only way you have to generate TRACE request is to use either Java Applet or Flash, meaning you are already in a deeper problematic situation.

If you need at all cost to enable Applets / Flash, you can simply use a rule in your firewall, waf, reverse proxy to prevent the TRACE method to happen on your production system.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

wfollonier@cloudbees.com (JIRA)

unread,
Nov 15, 2019, 4:51:03 AM11/15/19
to jenkinsc...@googlegroups.com

wfollonier@cloudbees.com (JIRA)

unread,
Nov 15, 2019, 4:51:04 AM11/15/19
to jenkinsc...@googlegroups.com
Wadeck Follonier started work on Improvement JENKINS-60180
 
Change By: Wadeck Follonier
Status: Open In Progress

o.v.nenashev@gmail.com (JIRA)

unread,
Nov 25, 2019, 4:22:05 PM11/25/19
to jenkinsc...@googlegroups.com
Oleg Nenashev updated Improvement JENKINS-60180
 

Released in Jenkins 2.205

Change By: Oleg Nenashev
Status: In Review Resolved
Resolution: Fixed
Released As: Jenkins 2.205
Reply all
Reply to author
Forward
0 new messages