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

Broken Jelly permission check creates MANAGE_DOMAINS user

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • credentials-plugin
    • None
    • credentials-2.2.1

      https://github.com/jenkinsci/credentials-plugin/blob/11873056e05470405fa004adbd2967d96eeafa12/src/main/resources/com/cloudbees/plugins/credentials/ViewCredentialsAction/action.jelly#L39

      it is a User, and this ends up calling static User#get(String)

      This does not impact security, but the check will succeed, and the "Add domain" link will be shown to users without the necessary permission.

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

              Created:
              Updated:
              Resolved: