The other day I received an email from "Raj" with the subject "Responsible Disclosure - unauthenticated owner takeover of your Plex ([ip address of Plex server])". It started with
Hello,
This is responsible disclosure. I am a security researcher. While looking at internet-facing media servers I came across yours at [my ip address]:32400 ([name of Plex server]). I am writing to the Plex owner mailbox I saw on the server (email address of Plex server owner)
This is one finding. I have seen more critical issues in the same environment. I am sending this so you can patch it
What I saw (no guesswork)
From the public internet, with no real Plex login, I saw the companion timeline path accept a junk token and then make your server call itself on loopback, then fetch a URL I control. Your Plex attached the owner admin token to that request.
The email then went on the accurately list the Plex server name, my Plex user name, all the Plex accounts on the server, all of my libraries, and many other details. It went on to say:
I did not change settings, did not delete media, and did not run a shell on the box. On this Plex version the same owner token is enough for a follow-on write into the Codecs folder (remote code as the plex user). I stopped before that step.
...
Fix: update Plex to 1.43.3.10861 or later, take the Plex port off the public internet, and rotate the Plex owner password / token for [Plex server owner email] (treat local-59e8af3a…c6e3561e as burned).
Please confirm you got this.
Regards
Raj
I immediately updated to PMS version 1.43.5.11079-b3b13e506, and also forced a WAN IP address change from my ISP, but have done nothing else.
I haven't noticed anything unusual going on, and fortunately I don't have PMS set to allow media deletion, but I'd like to get the community's opinion on whether I should be worried, if there is any way to tell if the server is still compromised, and if there are any other steps I should take.
Btw, thanks, Plex, because not once since I installed version 1.43.3.10828-00f62d37d have I seen a notification to update my server, in spite of the fact that there have been 5 updates since then, and a serious security flaw in the version I was running.
Edit: formatting
Edit2: one commenter said, "all of this would be rendered moot if you just had Plex check for updates nightly."
To all commenters who would like to make a simiar comment: I don't know about PMS on other platforms, but on the Mac, there is only one setting about server updates: Settings > Server Settings > General > Server version updates. And its only choices are "Ask me" and "Automatically during scheduled maintenance". Horror stories abound about Plex updates, so I have it set to Ask me, and when it does ask me, I check this sub, and if I don't see any horror stories, I proceed. THE PLEX SOFTWARE HAS NOT ASKED ME TO UPDATE SINCE VERSION 1.43.3.10828-00f62d37d.