Change Request: Grant GUI access only to Admins!

Questions about Cobian Reflector
Post Reply
User avatar
SheriffHobbes
Posts: 6
Joined: 24 Sep 2023, 13:31

Change Request: Grant GUI access only to Admins!

Post by SheriffHobbes »

Hello,

I don't know if this issue has been reported yet, because the forum search isn't working. If I type something into the seach bar and click on the search button, after a while only a blank page is being shown.

I have a change request for Cobian Reflector (using the current version 2.4.00) because when running in service mode it introduces a serious security issue. My request is that only administrators can use the GUI. Currently, everybody can use the GUI. But the GUI runs with the permissions of the service and if you install the service with admin rights, which is necessary if you want to use VSS, then every user can grant him-/herself access to all the files on the system. I tried it out myself: As a non-Admin create a task that backs up the content of the userprofile of the system's admin, a folder you usually don't have access to. Run the task and there you go: All read-protected files ready to read!

The option to protect the GUI with a password is useless, because C:\Program Files\Cobian Reflector\Settings\Cobian Reflector.ini is writeable for everyone. Just set Protect the user interface=False, wait for the CobianReflectorService to restart and the password protection is gone.

Thanks,
SH
I believe that all government is evil, and that trying to improve it is largely a waste of time.
H. L. Mencken
User avatar
cobian
Site Admin
Posts: 4611
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Change Request: Grant GUI access only to Admins!

Post by cobian »

Searching is working fine here. :o

The gui doesn't run with the service permissions. The gui is a separated program that runs in the context of the logged in user. But it communicates with the service who is the one that executes the task.

You can protect the user interface Settings/Security/Protect the user interface AND set the permissions to the directory "Cobian Reflector\Settings" so that only the user running the service has access to it.
--
Luis Cobian
Cobian Backup's creator
User avatar
SheriffHobbes
Posts: 6
Joined: 24 Sep 2023, 13:31

Re: Change Request: Grant GUI access only to Admins!

Post by SheriffHobbes »

Hi Luis,

I tried that already: I deleted the "everyone full access" permission from C:\Program Files\Cobian Reflector\Settings\Cobian Reflector.ini, but when Cobian GUI starts, it resets the permissions.
I believe that all government is evil, and that trying to improve it is largely a waste of time.
H. L. Mencken
User avatar
cobian
Site Admin
Posts: 4611
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Change Request: Grant GUI access only to Admins!

Post by cobian »

This is done in case the program is running as an application, then several users need to have the permissions to change the same files. This is a real problem, yes.
--
Luis Cobian
Cobian Backup's creator
User avatar
SheriffHobbes
Posts: 6
Joined: 24 Sep 2023, 13:31

Re: Change Request: Grant GUI access only to Admins!

Post by SheriffHobbes »

I'm running your software as a service. So there's no workaround? At least this is a bug, because the GUI password protection can easily be circumvented, like I described above.
I believe that all government is evil, and that trying to improve it is largely a waste of time.
H. L. Mencken
User avatar
cobian
Site Admin
Posts: 4611
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Change Request: Grant GUI access only to Admins!

Post by cobian »

It's a decision taken back 1998 because the user can run the program as an application. Many users need to access the same file. I agree that resetting the permissions should be respected forr those who understand what they are doing.
--
Luis Cobian
Cobian Backup's creator
Mikasa
Posts: 6
Joined: 13 Sep 2023, 08:43

Re: Change Request: Grant GUI access only to Admins!

Post by Mikasa »

This is a serious security issue, and I appreciate you bringing it to light. Hopefully,Buckshot Roulette Cobian Soft prioritizes this and releases a fix soon.
User avatar
cobian
Site Admin
Posts: 4611
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Change Request: Grant GUI access only to Admins!

Post by cobian »

Yes it is. I secure those directories manually. For version 3 (if it ever comes out) the program will only run as a service OR as an application per user (but not globally). This will fix this issue.
--
Luis Cobian
Cobian Backup's creator
Post Reply