231 points · by Flollop · 4y ago · 189 comments
We want you to be aware of an incident involving your Plex account information yesterday. While we believe the actual impact of this incident is limited, we want to ensure you have the right information and tools to keep your account secure.
What happened
Yesterday, we discovered suspicious activity on one of our databases. We immediately began an investigation and it does appear that a third-party was able to access a limited subset of data that includes emails, usernames, and encrypted passwords. Even though all account passwords that could have been accessed were hashed and secured in accordance with best practices, out of an abundance of caution we are requiring all Plex accounts to have their password reset. Rest assured that credit card and other payment data are not stored on our servers at all and were not vulnerable in this incident.
What we're doing
We've already addressed the method that this third-party employed to gain access to the system, and we're doing additional reviews to ensure that the security of all of our systems is further hardened to prevent future incursions. While the account passwords were secured in accordance with best practices, we're requiring all Plex users to reset their password.
What you can do
Long story short, we kindly request that you reset your Plex account password immediately. When doing so, there's a checkbox to "Sign out connected devices after password change." This will additionally sign out all of your devices (including any Plex Media Server you own) and require you to sign back in with your new password. This is a headache, but we recommend doing so for increased security. We have created a support article with step-by-step instructions on how to reset your password [here](https://support.plex.tv/articles/account-requires-password-reset/?utm_source=Plex&utm_medium=email&utm_content=reset_password&utm_campaign=sql_db_password_reset).
We'd also like to remind you that no one at Plex will ever reach out to you to ask for a password or credit card number over email. For further account protection, we also recommend enabling [two-factor authentication](https://support.plex.tv/articles/two-factor-authentication/?utm_source=Plex&utm_medium=email&utm_content=reset_password&utm_campaign=sql_db_password_reset) on your Plex account if you haven't already done so.
Lastly, we sincerely apologize to you for any inconvenience this situation may cause. We take pride in our security system and want to assure you that we are doing everything we can to swiftly remedy this incident and prevent future incidents from occurring. We are all too aware that third-parties will continue to attempt to infiltrate IT infrastructures around the world, and rest assured we at Plex will never be complacent in hardening our security and defenses.
For step-by-step instructions on how to reset your password, visit: https://support.plex.tv/articles/account-requires-password-reset Thank you,
The Plex Security Team
If anyone is curious, then alternatives like Jellyfin exist. It's a bit different and may not have all the features you need, but it works quite well in my experience.
But otherwise I've switched to Infuse[2] since then, it indexes sources reliably on its own (no manual editing though) and saves the entire need for a server if you use it with some cloud storage. Basically replaced my Plex server, with the added bonus of out-of-home streaming without needing high upload. The major disadvantage is that it's Apple-only.
1: https://support.plex.tv/articles/207538527-do-i-need-a-plex-... 2: https://firecore.com/infuse
For this infuriating reason, moving off of Plex is on my to-do list.
edit:
You can also do this: https://support.plex.tv/articles/200890058-authentication-fo...
Being hard of hearing, subtitles are a big deal. I wonder if this is an ADA violation?
What if you change the global accessibility settings to prefer subtitles? (Or just set SDH/CC somewhere in system settings) I know on Google/Android TV and Apple TV it default-enables subtitles in some apps.
Normal people also want to have features like remote streaming, subtitles fetching, familly sharing, etc which are hard to do without centralized accounts. Not even mentionning securing your paid features which you have to do to survive. And that customer doesn't care about the login as long as it is up.
I don't anything plex could do to please this particular demand would ever be enough so for me they do well to ignore it since removing that would effectively kill their business.
I did pay for Plex prior to the cloud auth change, so for me it's a bait and switch, but my concerns are much more about privacy.
One day Plex will be bought by a large media company, and my (and my kids') viewing data and library catalogue data will be owned by MGM, Disney, Fox, etc...
It might not be in a great place now, but I'm not sure that's necessarily a reflection of the product
Jellyfin may not be perfect but surely it's good enough for most use cases.
* Kodi only works on my local network. It requires exposing my file shares on whatever VLAN my Kodi devices are on.
* Kodi is a pain to configure. To point it at the aforementioned file shares, I need to copy an XML configuration file, and getting this onto every device is a chicken and egg problem.
* Kodi requires each client to scan and sync the entire library at its CPU and bandwidth limits. My Plex server automatically scans and indexes my media.
* Plex allows me to access my content at the office, while travelling, and to share with friends
* Kodi doesn't transcode, requiring all of my client devices to have enough power and bandwidth to do so locally. Plex makes it much simpler to (for instance) stream a 4k video to a low power device
I know enough to have ran Kodi for years and intentionally switched to Plex full time
I've tried using Plex before and while the UI is nice, they don't seem to be able to write a video transcoder that doesn't have massive stuttering in it.
Jellyfin's DVR service is horrible compared to Plex. Practically unusable. And DVR is the reason I pay for Plex.
I use a password manager with a very long randomly generated password for everything, so a hashed password leaking is essentially meaningless to me. Notifying me immediately so that I can change it ASAP is what matters.
The burner e-mail I use for stuff like this is listed in 25 other data breeches, too. I don't really care. Plex is amazing software.
I don't really understand the freak outs here.
With regard to complex passwords, Plex is one of those accounts that using a random password is quite cumbersome since my kids and I are often connecting new devices that don't access the password manager. We also use it on smart TVs while on vacation. We use a unique, but simple to remember password.
The problem with Plex is that they force you to use cloud auth even if you self-host despite that not being necessary at all for those many of us that self-host. I don't have any other server I host that requires this. The local LAN login they claim works without auth doesn't work for most devices nor across subnets.
It means I cant access Plex when the isp is down and it means Plex sees my library and my kids' activity (which I don't like for privacy reasons), despite having paid for lifetime Plex before this was a requirement.
Think about the Plex as a business that may very likely get acquired one day by a large media corporation. What happens to my data then? Will they ask me to verify my ownership of content I host(ed)? They are already pushing commercial "free"content to my kids, which is exactly what I was trying to get away from.
Isn't that what plex.tv/link is for?
Because most people reuse the same email address and password, and are potentially way more exposed than you are.
In 2022, your data isn't safe. It's widely known your data isn't safe. You need to take steps to make it matter less when its mishandled.
Don't get me wrong, the Plex infra team should feel bad about themselves, but if this breach in anyway compromises anything else in your life other than your media center -- and if your hashed password gets cracked -- then that's on you in my opinion.
Temporary email services don't seem helpful either if you need to go through password reset processes or receive emails after the address has been removed.
Do people just use use custom domains with catch all addresses? Is this really the best way?
Now, should I have been smarter and used a burner email address and username unique to Plex? Definitely. But I signed up with them like 10 years ago.
First I thought of the pants that the crew of the Enterprise wear and second was the diaper thing that the monkey you use to save in Mega Man Legends wears[0].
(As an aside, an image search for "data star trek" will have you believing that he does not wear pants on that show.)
[0] https://duckduckgo.com/?t=ffab&q=data+mega+man+legends&atb=v...
As of Aug 23 11:24PM PST, Password change page is sort of working, at times displaying error message "Internal Server Error. Something went wrong on our end". I was able to get my request through. Shortly after, a server instance started showing unclaimed status and reassociating it resulted in "Plex is down for maintenance \ Don't worry, it will be back soon \ status.plex.tv".
I'm going to give it some time. I also even went through these steps (https://support.plex.tv/articles/204281528-why-am-i-locked-o...) without success.
http://www.spamcop.net/w3m?action=checkblock&ip=192.254.122....
On July 27th, I received ~7 emails, about 10 minutes apart, warning me of a new device logging in my Plex account. It didn't correlate with any activity on my part, and the IPs were all over the place (for context I'm in France). Here is some of the IPs that were used :
- 191.101.41.35 (US)
- 185.199.103.40 (US)
- 103.43.200.58 (India)
- 2001:16a2:def3:200:40cf:530f:ff72:1747 (Saudi Arabia)
Fortunately the password is only used on Plex, and I just generated a new one and signed out my devices, and that was it.They will say "we have evidence that a subset of x/y/z data was accessed". You might think that means they have evidence that the other data wasn't accessed, but what it means is that they only currently have explicit indicators of certain data being accessed (such as a exported zip file that bad actors forgot to delete, or the log of one sql query, etc). It really means very little, and companies (internally) usually assume everything on the breached server was accessed, even if externally they only report on obvious breadcrumbs.
They also say "We detected access on xyz date and immediately worked to close the vulnerability". You might think this means that they know that this was they have evidence that this was the first access, but it only means this was the first obvious alert they noticed and responded to. There might be earlier accesses (even some they already know about).
They are intentionally vague to limit their legal liability. This is why laws must be passed to compel full disclosure.
> all account passwords that could have been accessed were hashed and secured in accordance with best practices
Now an attacker cannot get a hold of email addresses easily.
3rd party mail sending services could support this by generating a keypair on their systems, and only giving you the public half. When you make an API request to send an email, you provide only the encrypted version of the address.
Edit: The hashing is an issue. It's too easy to build a wordlist of possible addresses, to crack the hash. I think this can only work if you drop the hash column, and instead require users to log in using a username.
Security is about layers. Simply because a hacker “could” do something, does not mean it’s a bad idea. Getting the encryption key when it’s not stored in the database requires the hacker to now have access not to just the database but to another system as well.
This seems like an acceptable solution for email and a lot of other PII. However, if you were to propose the same thing for passwords, with the same argument, I'd be dead against it -- even beyond the total lack of need for the system to ever have the actual password. I'm not quite sure how to explain this, though.
But the hackers would have to know what algorithm was used :) That's a layer, right?
Some of those practices may be generally applied for non-healthcare settings as well.
The relevant parts of HIPAA are the duty to not disclose PHI to unauthorized recipients and breach notification requirements if you do incorrectly disclose PHI (the HIPAA breach notification rule).
The magic of encryption is that HIPAA provides safe harbor if the data stolen/lost/intercepted was encrypted to certain standards. So if you lose an encrypted hard drive full of PHI, or someone breaks into your servers and steals encrypted data but not the decryption capability, then it's not considered a breach under HIPAA and you do not need to notify anyone.
Tons of PHI isn't stored encrypted at rest. Physical theft of the hard drive from the practice's back-end EHR database server hasn't generally been high priority on the HIPAA breach potential risk assessment list. But nearly all data in transit, on employee laptops, etc. will be encrypted, because that's where you want the safety net of the safe harbor provision.
From the HHS site: https://www.hhs.gov/hipaa/for-professionals/faq/2001/is-the-...
> Is the use of encryption mandatory in the Security Rule?
> Answer:
> No. The final Security Rule made the use of encryption an addressable implementation specification. See 45 CFR § 164.312(a)(2)(iv) and (e)(2)(ii). The encryption implementation specification is addressable, and must therefore be implemented if, after a risk assessment, the entity has determined that the specification is a reasonable and appropriate safeguard in its risk management of the confidentiality, integrity and availability of e-PHI. If the entity decides that the addressable implementation specification is not reasonable and appropriate, it must document that determination and implement an equivalent alternative measure, presuming that the alternative is reasonable and appropriate. If the standard can otherwise be met, the covered entity may choose to not implement the implementation specification or any equivalent alternative measure and document the rationale for this decision.
They serve different purposes. For eg: When a disk drive is faulty and thrown away, you may not want data to be recoverable from it. So, the filesystem level encryption helps there. A db/table/column level encryption helps when there are different applications (eg: transaction processing and analytics) accessing a shared database. Reporting queries may not need access to the sensitive fields whereas certain transaction processes may need it. In this case, db/table/column level encryption helps. When you want separation of concerns, you can add application level encryption (on top of the other two). Example: Your data is stored on the cloud and you don't want the cloud service provider to know the data or if they replace a disk drive as part of normal servicing, you don't want your data to leak.
This depends on the threat model.
https://support.apple.com/guide/icloud/what-you-can-do-with-...
Hardcoding a key would be a bad idea. You would need some way to rotate keys. Maybe also encrypt the actual data encryption keys under another key encrypting key.
But this only defends against attacks which can't get that key (e.g. a SQL injection attack that just dumps table contents).
Having said that, you only need to decrypt if you want to send an email, for logging in you could just store a one way salted hash.
More importantly, this is a lot of effort to protect data that isn't usually regarded as that sensitive (unlike the passwords). If I had the security budget to do that, I'd almost certainly spend it on something else.
It sounds like payment data was stored in a separate database that had a different set of credentials (for this I am grateful).
Thanks to The Plex Security Team for providing details quickly.
> Rest assured that credit card and other payment data are not stored on our servers at all and were not vulnerable in this incident.
Edit: Not sure why I would be getting down-voted for this. Security breaches are a big deal, but if the only result of this for the users is that we need to change our passwords that's a fairly good outcome, no? :-) The biggest hurdle ahead for Plex is to figure out exactly what these attackers did, if they were directly targeted and for how long they were in their network. A lot of the times a incident is discovered it's discovered a long time after the first breach (based on my own personal experience)
Understand that sending emails that are not SPAM, to potentially millions of people is NOT a trivial exercise.
Has anyone tried any alternatives that have a decent Apple TV client?
I have tried looking a couple times over the last couple years and that is always my blocking point.
Ideally not a third party one, I know Jellyfin has a third party option but it always seems to have issues on my library and needs to update its cache (or something) and my experience with it was not great. Kodi seems like it might have one, but it isn't available through the App Store.
Bonus if it can somehow import my watch history (but not required, that is a minor issue).
As much as I hate Plex and all of the unnecessary features they keep adding, they seem to be the only one with a decent client.
It can also play at being a plex client to provide better playback options than the official plex app.
It all became clear when I got this email last night. I was suspicious, but now I'm pretty certain that my account was exploited, and my local media was being streamed by a 3rd party.
A filesystem which supports snapshots and rollbacks is good to have underlying your media collection as well (ZFS, BTRFS, etc)
EDIT: Figured it out. Need to access the server from the same network (or tunnel to it). You won't see server settings from external network.
Plex has many legitimate use cases. More recently they've pushed into streaming by licensing free content[1], and adding a UI to show where to watch a given show given a set of streaming services that you subscribe to[2].
Aside from that they have their streaming Live TV/DVR[3] feature where you plug a TV tuner into your computer to stream your TV from anywhere, and record it to disk. I have this setup, and it can be useful when watching sports with friends because nobody I know has cable setup 24/7 -- they usually plug an antenna in when they want to watch a game.
The more common Plex features of managing a TV, movie, and music library have legitimate use cases of providing a way to stream media that you have purchased and copied to disk.
Lastly, just yesterday I uploaded all of the lecture videos of a course I'm taking to my Plex instance which allows me to stream them from anywhere or download them for offline viewing using a reliable app instead of the Canvas UI.
Out of honesty I'll admit that I do use Plex for piracy. I previously had subscriptions to Netflix and HBO, and I'll often purchase a subscription when there's a new show that I want to watch (e.g. the new Game of Thrones series). I'm not going to subscribe to 10 different streaming services to watch what I want (which is often just background noise while I work), which is what the industry is moving to.
[0]: https://www.debian.org/CD/torrent-cd/
[1]: https://watch.plex.tv/live-tv
[2]: https://www.plex.tv/blog/end-the-streaming-struggle-with-ple...
[3]: https://support.plex.tv/articles/225877347-live-tv-dvr/
I believe they're doing that. I double-checked and got no email from them.
I've been through this exercise before with one of my businesses, and I disclosed what/where the injection was and what our mediation was for the problem.
I don't understand the outrage though from this community. I don't think there is a large web business today that hasn't been through an SQL injection compromise. Even the largest platforms in the world like Facebook, etc have had an issue like this crop up.
A delete account option would be nice in this case. I'd rather just have my data deleted even if it has already been compromised just to tie off this loose end.
I hope that Plex learns from this and implements LAN-only logins (or LAN-only access) again.
I'm guessing it's because of load on their stuff, but it's quite a pain in the butt when I usually use Plex to listen to (my local, legally ripped) music while working.
Not sure if that helps you, but hopefully it's a temporary issue for you.
Right??
Which is of course, a bold-faced lie, otherwise they would never have forced users to open Plex accounts, or removed the ability to conduct authentication locally.
I personally run Jellyfin, and aside from security issues, I'm quite pleased with it.
I suppose one way you could access it outside the network securely would be to set up a VPN on your home network, to connect to your Jellyfin server through. So there's options. But obviously it depends on how far you want to take it.
At the time, I could not find the disclosure on their website.
I'm glad they disclosed shortly after discovery, but not publishing it on their site is an odd choice.
They also have clients for all major platforms and for web browsers, and can be accessed from outside of your home. I'm currently in Portugal, watching TV shows off my home machine in Germany via my phone or my Amazon Fire TV or my laptop.
It's much like having your own self-hosted Netflix.