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

Updating credentials results in broken secrets when missing Item.Configure permission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • jenkins 2.379
      matrix-auth plugin 3.1.5

      Jenkins supports specific permissions for viewing, creating, updating and deleting credentials.

      When a user has Credentials.Update permission, but not Item.Configure permission for a specific item, he is able to visit the credentials update page.

      But when he saves the dialog (without changing the concealed password), the credential entry is saved with '******' as password value.

      These passwords obviously are rejected by the target systems.

       

      It seems there's a check for Item.Configure permission within hudson.Functions class which needs to be extended with a Credential.Update check.

            Unassigned Unassigned
            kwening Klaus Wening
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: