[JIRA] (JENKINS-56607) Broken Jelly permission check creates MANAGE_DOMAINS user

3 views
Skip to first unread message

dbeck@cloudbees.com (JIRA)

unread,
Mar 18, 2019, 6:47:02 PM3/18/19
to jenkinsc...@googlegroups.com
Daniel Beck created an issue
 
Jenkins / Bug JENKINS-56607
Broken Jelly permission check creates MANAGE_DOMAINS user
Issue Type: Bug Bug
Assignee: Daniel Beck
Components: credentials-plugin
Created: 2019-03-18 22:46
Priority: Minor Minor
Reporter: Daniel Beck

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

dbeck@cloudbees.com (JIRA)

unread,
Mar 18, 2019, 6:50:02 PM3/18/19
to jenkinsc...@googlegroups.com

dbeck@cloudbees.com (JIRA)

unread,
Mar 18, 2019, 6:50:02 PM3/18/19
to jenkinsc...@googlegroups.com
Daniel Beck started work on Bug JENKINS-56607
 
Change By: Daniel Beck
Status: Open In Progress

boards@gmail.com (JIRA)

unread,
Aug 1, 2019, 2:54:02 PM8/1/19
to jenkinsc...@googlegroups.com
Matt Sicker updated Bug JENKINS-56607
 

Merged to master.

Change By: Matt Sicker
Status: In Review Fixed but Unreleased
Resolution: Fixed

boards@gmail.com (JIRA)

unread,
Aug 1, 2019, 4:36:04 PM8/1/19
to jenkinsc...@googlegroups.com
 

Released in credentials-2.2.1.

Change By: Matt Sicker
Status: Fixed but Unreleased Resolved
Released As: credentials-2.2.1
Reply all
Reply to author
Forward
0 new messages