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

Credentials metadata leak in GraniteCredentialsListBoxModel

XMLWordPrintable

      GraniteCredentialsListBoxModel.fillItems should probably start with

      if (context == null || !context.hasPermission(Item.CONFIGURE)) {
          return new ListBoxModel();
      }
      

      lest it expose credentials IDs and descriptions to anonymous users.

      This is assuming that there is a context passed in from callers, typically as @AncestorInPath.

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: