I installed Plex media server as an admin. I run Plex media server as a user on a user account in windows 10.
It seems like there is a major issues in the setup:
I can browse the administrator folder from the Plex > Libaray > Add Library > Browse dialog while logged in as a user. Plex has full access to all restricted folders. Why is this possible?
Its completely ignoring the OS user account permissions structure. Possible security vulnerability, possibly bad design decision.
While I’m at it…
Why does the web interface even have the option to delete from the file system?
The application layer should never be changing the file system later from the playback library. I know I can check the box and “prevent.” I should have to because it shouldn’t be there to begin with. Bad design
Windows explorer and powershell disagree with your statement. I’m not researching this, I am simply pointing out a vulnerability that can affect the file system on a compromised plex account:
gain account access
add library for desired folder (plex ignores permissions at the windows host level)
Will have it looked into. Thank you. I do not understand why windows is allowing a process running in different user account access directories that account has no access to
yes, you’re correct. plex is using elevated credentials from the service account to browse the file system but shouldn’t be. administrator privileges should not be inherited by a user that is not an administrator. pretty straight forward.
If Plex is running under the system account, then it accesses the file system as such.
The proper way is to pick a regular user account (or create one especially for Plex).
I can see that you are not happy - but I have just done some testing and the results were as follows
I had Plex Media Server run as a Service with a plex account. The plex account was at this point an admin account, I changed the account type to be a normal user - non admin
I could still access paths within an admin account for which the plex account has no permissions
I then rebooted and tested running plex outside the service - I had no access to the areas the plex account did not have permissions
I then shutdown Plex Media Server and launched it as a service and that worked in same way - there was no access to the areas that the plex account had no permissions
My earlier tests were for when Plex Media Server.exe is run as a Service.
I will test running an elevated installer for a manual install and launching at the end and also will test the auto updater through the Plex Updater Service to see if we have an issue there for systems where the Plex Media Server account is non admin account
I do not even know if it is being used. I don’t think it was stated although there was a reference to a Service. Not clear if it is or if the reference was to the Plex Updater Service and auto updates causing the problem
Stopped and Deleted the PlexUpdaterService to make sure we are starting afresh for the test
Uninstall Plex Media Server
Using a non-admin windows account run the installer for version 1.13.2.5156.
Give credentials for Admin account when requested to run the install
At the end of the install, clicked on Launch
Using Plex Web edited a library to attempt to add path for media in a Windows Admin Account - the user name directory was visible but no content.
I was not allowed to see any of the files within the admin account
I then did a second test - used Auto Updates through the Plex Web interface to download and install version 1.13.3.5223. On completion and auto launch of the new version, I was still unable to see any of the admin account directories
The only time the issue arose was when Plex Media Server was run as a service through a windows account that was initially an Admin Account but later changed to standard non-admin account - without restarting the service
Were you running Plex Media Server as a Service ? Were you making changes to the account type - switching from admin to non admin?
If you can reproduce the problem and provide us with logs and evidence that it is happening, I would be happy to look further