Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15252

Why is "Prevent Cross Site Request Forgery exploits" disabled by default?

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      1. It's not clear why "Prevent Cross Site Request Forgery exploits" is disabled by default.
      2. The help needs to explain the downside of enabling this feature, if any.

          [JENKINS-15252] Why is "Prevent Cross Site Request Forgery exploits" disabled by default?

          cowwoc created issue -
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: gui [ 15492 ]

          Daniel Beck added a comment - - edited

          Would this be sufficient?

          Some Jenkins features (like the REST API) are more difficult to use when this
          option is enabled. Some features, especially in plugins not tested with this
          option enabled, may not work at all. Some reverse proxies may filter the "crumb"
          parameter, resulting in failures when trying to use certain actions.

          Daniel Beck added a comment - - edited Would this be sufficient? Some Jenkins features (like the REST API) are more difficult to use when this option is enabled. Some features, especially in plugins not tested with this option enabled, may not work at all. Some reverse proxies may filter the "crumb" parameter, resulting in failures when trying to use certain actions.

          cowwoc added a comment -

          That sounds okay to me.

          cowwoc added a comment - That sounds okay to me.
          Daniel Beck made changes -
          Assignee New: Daniel Beck [ danielbeck ]
          Daniel Beck made changes -
          Labels New: documentation
          Priority Original: Major [ 3 ] New: Minor [ 4 ]
          Daniel Beck made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Daniel Beck made changes -
          Remote Link New: This issue links to "PR 1438 (Web Link)" [ 11808 ]

          Code changed in jenkins
          User: Daniel Beck
          Path:
          core/src/main/resources/hudson/security/csrf/GlobalCrumbIssuerConfiguration/help-csrf.html
          http://jenkins-ci.org/commit/jenkins/16509dc22c7129f64c6c2668779b71de819912cf
          Log:
          [FIXED JENKINS-15252] Explain problems with CSRF protection

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Daniel Beck Path: core/src/main/resources/hudson/security/csrf/GlobalCrumbIssuerConfiguration/help-csrf.html http://jenkins-ci.org/commit/jenkins/16509dc22c7129f64c6c2668779b71de819912cf Log: [FIXED JENKINS-15252] Explain problems with CSRF protection
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

            danielbeck Daniel Beck
            cowwoc cowwoc
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: