plex arbitrary file read - #21873
Open
h00die wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces a Plex arbitrary file read against Plex Media Server (<= 1.43.2.10687, and the first 1.43.3 build 10828). Plex announced on 9/1 via https://forums.plex.tv/t/important-security-update-for-plex-media-server-v1-43-2-and-earlier/942319 to update servers. They haven't said why you need to update your server though, but it seems to be because of an arbitrary file read potentially unauthenticated (if on local network). Bad things. I'm sure there's a CVE, but it hasn't been released to the public yet from what I can tell.
Breaking Changes
None
Reviewer Notes
Docker setup included, runs 2 vuln versions of plex (diff branches of the code) so you can test both.
Verification Steps
use auxiliary/scanner/http/plex_media_server_file_readset rport 32402set rhosts 127.0.0.1set file /etc/passwdrunAI Usage Disclosure
GLM-5.3 assisted in finding the vuln and writing the initial code. I did testing and cleanup.